utmpname

Name

utmpname -- set user accounting database

Synopsis

#include <utmp.h>

void getutent(const char * dbname );

Description

The setutent() function shall cause the user accounting database used by the getutent(), getutent_r(), getutxent(), getutxid(), getutxline(), and pututxline() functions to be that named by dbname, instead of the system default database. See Section 10.2 for further information.

Note: The LSB does not specify the format of the user accounting database, nor the names of the file or files that may contain it. The implementation may map the dbname database name on to one or more files with the given stem.

Return Value

None.

Errors

None defined.