getutent
Name
getutent -- access user accounting database entries
Synopsis
struct utmp
*getutent
(void);
Description
The getutent() function shall read the
next entry from the user accounting database.
Return Value
Upon successful completion, getutent()
shall return a
pointer to a utmp structure containing a copy
of the requested entry in the user accounting database.
Otherwise, a null pointer shall be returned. The return value may point
to a static area which is overwritten by a subsequent call to
getutent().