Re: The error of "getpwuid"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mtk.manpages@xxxxxxxxx,linux-man@xxxxxxxxxxxxxxxx

2009/11/25, 孙建刚 <sunjiangangok@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux