[Previous] [Contents] [Next]

endpwent()

Close the password database file

Synopsis:

#include <sys/types.h>
#include <pwd.h>

int endpwent( void );

Library:

libc

Description:

The endpwent() function closes the password name database file, so all password access routines behave as if setpwent() had never been called.

Returns:

Zero.

Classification:

Standard Unix

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler No
Thread No

See also:

getpwent(), setpwent()


[Previous] [Contents] [Next]