]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
getgrent() and friends should set errno if there is an error.
authorkientzle <kientzle@FreeBSD.org>
Mon, 17 May 2004 22:15:49 +0000 (22:15 +0000)
committerkientzle <kientzle@FreeBSD.org>
Mon, 17 May 2004 22:15:49 +0000 (22:15 +0000)
commit330e353d70b4e66999db3be3f44e56bfe0515cb1
treecb7059c9c4c0cb0b291db3e1b90f902db9e5cff6
parent4070a4a8d4f684242bddd0ac9a1e6c999dd11ded
getgrent() and friends should set errno if there is an error.
Also, clarify the manpage description of when errno is set and
explain that clients should set errno=0 first if they want useful
error information.
lib/libc/gen/getgrent.3
lib/libc/gen/getgrent.c