linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* The error of "getpwuid"
@ 2009-11-25  5:44 孙建刚
       [not found] ` <bdf46e580911242144s733020bamd6816a7853887ccb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: 孙建刚 @ 2009-11-25  5:44 UTC (permalink / raw)
  To: linux-man-u79uwXL29TY76Z2rM5mHXA

I have found an spelling error of "getpwuid" which is in the section 3
of man-pages.
The error is in the last third line of EXAMPLE in "getpwuid",
the primary is
 printf("Name: %s; UID: %ld0, pwd.pw_gecos, (long) pwd.pw_uid);
but it is wrong.The right is
 printf("Name: %s; UID: %ld", pwd.pw_gecos, (long) pwd.pw_uid);
should change "0" to quotation mark("), not "0".
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-03 15:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-25  5:44 The error of "getpwuid" 孙建刚
     [not found] ` <bdf46e580911242144s733020bamd6816a7853887ccb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-11-27  5:52   ` 孙建刚
     [not found]     ` <bdf46e580911262152u27a3e96bx3bde63668afaa240-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-12-03 15:20       ` Michael Kerrisk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).