![]() Chapter Contents  | 
![]() Previous  | 
![]() Next  | 
| setpwent | 
| Portability: | UNIX compatible | 
| SYNOPSIS | |
| DESCRIPTION | |
| RETURN VALUE | |
| USAGE NOTES | |
| RELATED FUNCTIONS | 
| SYNOPSIS | 
#include <sys/types.h> #include <pwd.h> void setpwent(void);
| DESCRIPTION | 
The 
setpwent
 function rewinds the user database so that the next call to
the 
getpwent
 function will
access the first user in the database.
| RETURN VALUE | 
setpwent
has no return value.
| USAGE NOTES | 
The 
setpwent
 function can only be used with MVS 5.2.2 or a later release.
If the 
setpwent
 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 | 
![]() Chapter Contents  | 
![]() Previous  | 
![]() Next  | 
![]() Top of Page  | 
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.