![]() |
![]() |
![]() |
Rewind the shadow password database file
#include <sys/types.h> #include <shadow.h> void setspent( void );
libc
The setspent() function rewinds to the start of the shadow password database file. It's provided for programs that make multiple lookups in the database (using the getspnam() call) to avoid opening and closing the shadow password database for each access.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | No |
fgetspent() endspent(), getspnam(), getspent() putspent()
![]() |
![]() |
![]() |