]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/login.3
time.1, _syscall.2, acct.2, getsockname.2, nanosleep.2, pciconfig_read.2, sched_get_p...
[thirdparty/man-pages.git] / man3 / login.3
index aeffa275d9e54b28df72374fa6874278f7e51525..fe03b5a16af8e3d3ed57abee88b8ab465c1865c5 100644 (file)
@@ -41,7 +41,8 @@ See
 .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
@@ -62,11 +63,16 @@ and fills the field
 (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