* 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
[parent not found: <bdf46e580911242144s733020bamd6816a7853887ccb-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: 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> 0 siblings, 1 reply; 3+ messages in thread From: 孙建刚 @ 2009-11-27 5:52 UTC (permalink / raw) To: linux-man-u79uwXL29TY76Z2rM5mHXA mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,linux-man-u79uwXL29TaiAVqoAR/hOA@public.gmane.org 2009/11/25, 孙建刚 <sunjiangangok-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > 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
[parent not found: <bdf46e580911262152u27a3e96bx3bde63668afaa240-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: The error of "getpwuid" [not found] ` <bdf46e580911262152u27a3e96bx3bde63668afaa240-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2009-12-03 15:20 ` Michael Kerrisk 0 siblings, 0 replies; 3+ messages in thread From: Michael Kerrisk @ 2009-12-03 15:20 UTC (permalink / raw) To: 孙建刚; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA Thanks. Fixed for man-pages-3.24. 2009/11/27 孙建刚 <sunjiangangok-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,linux-man-u79uwXL29TaiAVqoAR/hOA@public.gmane.org > > 2009/11/25, 孙建刚 <sunjiangangok-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> 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 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface" http://blog.man7.org/ -- 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).