01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

GETPWENT ( 3C ) GETPWENT ( 3C )<br />

particular structure in which it was found. If an end-of-file or an<br />

error is encountered on reading, these functions return a NULL<br />

pointer.<br />

A call to setpwent has the effect of rewinding the password file to<br />

allow repeated searches. Endpwent may be called to close the<br />

password file when processing is complete.<br />

FILES<br />

/etc/passwd<br />

SEE ALSO<br />

getlogin(3C), getgrent(3C), passwd( 4).<br />

DIAGNOSTICS<br />

A NULL pointer is returned on EOF or error.<br />

WARNING<br />

The above routines use , which causes them to<br />

increase the size of programs, not otherwise using standard I/0,<br />

more than might be expected.<br />

BUGS<br />

All information is contained in a static area, so it must be copied<br />

if it is to be saved.<br />

- 2-<br />

/�.<br />

'>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!