endpwent()

Close the password database file

Synopsis:

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

int endpwent( void );

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

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:

POSIX 1003.1 XSI

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

See also:

getpwent(), getpwent_r(), setpwent()