setutent

Name

setutent -- access user accounting database entries

Synopsis

#include <utmp.h>

void setutent(void);

Description

The setutent() function shall reset the user accounting database such that the next call to getutent() shall be return the first record in the database. It is recommended to call it before any of the other functions that operate on the user accounting databases (e.g. getutent())

Return Value

None.