File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / getpwent
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



getpwent()               General Function              getpwent()




Get password file information

#include <pwd.h>
ssttrruucctt ppaasssswwdd *ggeettppwweenntt()

The  COHERENT  system  has five  routines  that  search the  file
/etc/passwd, which  contains information about every  user of the
system.  The  returned structure passwd is  defined in the header
file pwd.h.  For a description of this structure, see pwd.h.

getpwent returns the next entry from /etc/passwd.

***** Files *****

/etc/passwd
<pwd.h>

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

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

***** Diagnostics *****

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

***** Notes *****

All structures  and information returned are  in static areas in-
ternal to getpwent.   Therefore, information from a previous call
is overwritten by each subsequent call.

























COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.