.TH setspent() "" "" "General Function (libc)"
.PC "Rewind the shadow-password file"
.B "#include <shadow.h>"
\fBsetspent(\|)\fR
.PP
The \*(CO system has four routines that search the file
.BR /etc/shadow ,
which contains the password of every user of the system.
.B setspent()
rewinds the password file \(em that is, it resets the seek pointer
so that subsequent searches of the file start at the beginning of the file.
This function does not return a meaningful value.
.SH "See Also"
.Xr "endspent()," endspent
.Xr "getspent()," getspent
.Xr "libc," libc
.Xr "shadow," shadow
.Xr "shadow.h" shadow.h
