Re: [patch] getpw.3: Function could return -1 and set errno to zero.

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

 



On 01/16/2015 10:02 PM, Carlos O'Donell wrote:
> On 01/16/2015 01:38 AM, Michael Kerrisk (man-pages) wrote:
[...]
>> +If
>> +.I uid
>> +is not found in the password database,
>> +.BR getpw ()
>> +returns 0, sets
> 
> Should be "returns -1" not "returns 0".

D'oh! Thanks for catching that typo, Carlos. Fixed now.

Cheers,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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