In file useracc.h:

int usr_loadonlrec

(char* whose, onlinerec_t* onlrec)

Read a user online structure from file.

Documentation

Read a user online structure from file.

Loads the specified structure from disk. Although online records are temporary and relatively volatile, they are saved to disk between module changes for security's sake. This function is called by the system. Under any normal circumstances, you won't need to call it.

Parameters:
whose - The canonical form of the user ID to load. You can use usr_exists() to obtain this.
onlrec - A pointer to a pre-allocated onlinerec_t to hold the online record.
Returns:
Zero if the user could not be loaded, in which case, errno will be set to the error reported by the system. One if the user was loaded successfully, in which case the account will be in onlrec.
See Also:
usr_saveonlrec().

Alphabetic index



This page was generated with the help of DOC++.