Guardian Native C Library Calls Reference Manual (G06.28+, H06.04+)

endpwent(3) Guardian Native C Library Calls Ref
erence Manual
NAME
endpwent - Closes the user database
LIBRARY
G-series native Guardian processes: $SYSTEM.SYSnn.ZSECSRL
G-series native OSS processes: /G/system/sysnn/zsecsrl
H-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL
H-series OSS processes: /G/system/zdllnnn/zsecdll
SYNOPSIS
#include <pwd.h>
void endpwent(void);
DESCRIPTION
The endpwent() function normally closes the user authentication database. However, in the HP
implementation, the database does not remain open between calls that access it, so the
endpwent() function does nothing except provide compatibility with other implementations.
The endpwent() function satises references when linking user applications that were ported
from other systems.
Use From the Guardian Environment
The endpwent() function can be used by a Guardian process when the process has been com-
piled using the #dene _XOPEN_SOURCE_EXTENDED 1 feature-test macro or an equivalent
compiler command option.
NOTES
To check for an error resulting from a call to endpwent( ), set errno to 0 (zero) before the call.
RETURN VALUES
Upon successful or unsuccessful completion, the endpwent( ) function returns no value.
RELATED INFORMATION
Functions: getpwent(3), getpwnam(3), getpwuid(3), setpwent(3).
STANDARDS CONFORMANCE
The HP implementation of this function does not return the errno values [EIO], [EMFILE], or
[ENFILE].
170 Hewlett-Packard Company 527192-005