login

Name

login -- login utility function

Synopsis

void login(struct utmp *ut);

Description

The login() function updates the /var/run/utmp and /var/log/wtmp files with user information contained in ut.