|
man LOGIN (3) | C library functions | Unix Manual Pages | :man▋
NAME
login - "log a new login record to the utmp and wtmp files"
CONTENTS
Library Synopsis Description Return Values See Also Bugs
LIBRARY
.Lb libutil
SYNOPSIS
.In sys/types.h .In utmp.h .In libutil.h void login "struct utmp *ut"
DESCRIPTION
The function login records the ut entry being passed into the appropriate slot of the utmp(5) file, and appends it to the wtmp(5) file. The calling process must have permission to write to both files.
RETURN VALUES
None.
SEE ALSO
logout(3), ttyslot(3), utmp(5), wtmp(5)
BUGS
|