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