Guardian Native C Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Guardian Native C Library Calls (a - e) endpwent(3)
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 and J-series native Guardian processes: $SYSTEM.ZDLLnnn.ZSECDLL
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll
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 satisfies 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].
527192-018 Hewlett-Packard Company 1181