endpwent()

QNX SDP8.0C Library ReferenceAPIDeveloper

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

Safety:
Cancellation pointYes
Signal handlerNo
ThreadNo
Page updated: