Date: Mon, 17 May 2004 11:27:05 -0700 (PDT) From: Tim Kientzle <kientzle@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getpwent.3 getpwent.c Message-ID: <200405171827.i4HIR6Tn027529@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kientzle 2004/05/17 11:27:05 PDT
FreeBSD src repository
Modified files:
lib/libc/gen getpwent.3 getpwent.c
Log:
POSIX prohibits any library function from setting errno to 0.
Correct my previous commit and add a comment to the manpage
indicating that the user must set errno to 0 if they wish to
distinguish "no such user" from "error".
Pointed out by: Jacques Vidrine (nectar@)
Revision Changes Path
1.26 +5 -1 src/lib/libc/gen/getpwent.3
1.89 +1 -1 src/lib/libc/gen/getpwent.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405171827.i4HIR6Tn027529>
