setspent()

Rewind the shadow password database file

Synopsis:

#include <sys/types.h>
#include <shadow.h>

void setspent( void );

Since:

BlackBerry 10.0.0

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

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.

Classification:

Unix

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread No

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus