.TH setpwent() "" "" "General Function (libc)"
.PC "Rewind password file"
.B "#include <pwd.h>"
\fBsetpwent(\|)\fR
.PP
The \*(CO system has five routines that search the file
.BR /etc/passwd ,
which contains information about every user of the system.
.B setpwent()
rewinds the password file, which allows searches to begin from the
beginning of the file.
Please note that this function does not return a meaningful value.
.SH Example
For an example of this function, see the entry for
.BR getpwent() .
.SH Files
.B /etc/passwd
.br
.B pwd.h
.SH "See Also"
.Xr "libc" libc
