The
utempter_remove_record()
and
removeLineFromUtmp()
functions mark the login session as being closed for the TTY belonging
to the pseudo-terminal master file descriptor
fd.
These functions are equivalent to
ulog_logout_pseudo(3).

The
utempter_remove_added_record()
and
removeFromUtmp()
functions have the same properties as the previously mentioned
functions, except that they use an internally cached value of the file
descriptor passed to the login functions.