System Manager's Manual
NAME utmp_update — update utmpx database
is a helper program to allow a user to update his own utmpx(5)
does some consistency checks on the strvis(3)
and then updates the utmpx(5)
database of currently logged in users.
utmp_update should not be called directly, but will normally only be called by pututxline(3) if the privileges of the calling user are not sufficient.
EXIT STATUS utmp_update returns 0 on success, and 1 if an error occurred.