cvs commit: src/lib/libc/gen getpwent.3 getpwent.c

Tim Kientzle kientzle at FreeBSD.org
Mon May 17 11:27:07 PDT 2004


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


More information about the cvs-all mailing list