From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?GB2312?B?y++9qLjV?= Subject: Re: The error of "getpwuid" Date: Fri, 27 Nov 2009 13:52:39 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: linux-man-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-man@vger.kernel.org mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,linux-man-u79uwXL29TaiAVqoAR/hOA@public.gmane.org 2009/11/25, =CB=EF=BD=A8=B8=D5 : > 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