![]() Chapter Contents  | 
![]() Previous  | 
![]() Next  | 
| endpwent | 
| Portability: | UNIX compatible | 
| SYNOPSIS | |
| DESCRIPTION | |
| RETURN VALUE | |
| USAGE NOTES | |
| RELATED FUNCTIONS | 
| SYNOPSIS | 
#include <sys/types.h> #include <pwd.h> void endpwent(void);
| DESCRIPTION | 
The endpwent function
closes the UNIX System Services user database once the getpwent function is complete. If getpwent
is called after a call to endpwent, the database
will be opened once again, and information about the first user returned.
 
| RETURN VALUE | 
endpwent has no return
value.
| USAGE NOTES | 
The endpwent function can
only be used with MVS 5.2.2 or a later release.
If the endpwent function cannot be executed
(for instance, because UNIX System Services is not installed or running),
it issues an OS/390 user ABEND 1230 to indicate
the error.
| RELATED FUNCTIONS | 
getpwent, setpwent
![]() Chapter Contents  | 
![]() Previous  | 
![]() Next  | 
![]() Top of Page  | 
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.