.BI "int logout(const char *" ut_line );
.fi
.SH DESCRIPTION
-The utmp file records who is currently using the system.
-The wtmp file records all logins and logouts.
+The
+.I utmp
+file records who is currently using the system.
+The
+.I wtmp
+file records all logins and logouts.
See
.BR utmp (5).
.P
takes the supplied
.IR "struct utmp" ,
.IR ut ,
-and writes it to both the utmp and the wtmp file.
+and writes it to both the
+.I utmp
+and the
+.I wtmp
+file.
.P
The function
.BR logout ()
-clears the entry in the utmp file again.
+clears the entry in the
+.I utmp
+file again.
.SS GNU details
More precisely,
.BR login ()
that is a terminal, and
stores the corresponding pathname minus a possible leading
.I /dev/
-into this field, and then writes the struct to the utmp file.
+into this field, and then writes the struct to the
+.I utmp
+file.
On the other hand,
if no terminal name was found, this field is filled with "???"
-and the struct is not written to the utmp file.
-After this, the struct is written to the wtmp file.
+and the struct is not written to the
+.I utmp
+file.
+After this, the struct is written to the
+.I wtmp
+file.
.P
The
.BR logout ()
-function searches the utmp file for an entry matching the
+function searches the
+.I utmp
+file for an entry matching the
.I ut_line
argument.
If a record is found, it is updated by zeroing out the