.LP
The function
.BR login ()
-takes the supplied \fIstruct utmp\fP,
+takes the supplied
+.IR "struct utmp" ,
.IR ut ,
and writes it to both the utmp and the wtmp file.
.LP
(if there is such a field) with the process ID of the calling process.
Then it tries to fill the field
.IR ut\->ut_line .
-It takes the first of \fIstdin\fP, \fIstdout\fP, \fIstderr\fP
+It takes the first of
+.IR stdin ,
+.IR stdout ,
+.I stderr
that is a terminal, and
-stores the corresponding pathname minus a possible leading \fI/dev/\fP
+stores the corresponding pathname minus a possible leading
+.I /dev/
into this field, and then writes the struct to the utmp file.
-On the other hand, if no terminal name was found, this field is filled with "???"
+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.
.LP