

endpwent()               General Function              endpwent()




Close password file

#include <pwd.h>
endpwent()

The  COHERENT  system  has five  routines  that  search the  file
/etc/passwd, which  contains information about every  user of the
system.  endpwent closes the password file.

***** Files *****

/etc/passwd
<pwd.h>

***** See Also *****

general  functions,  getpwent(),  getpwnam(), getpwuid(),  pwd.h,
setpwent()

***** Diagnostics *****

endpwent returns NULL for any error or on end of file.


































COHERENT Lexicon                                           Page 1


