]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/login.3: ffix
authorAlejandro Colomar <alx@kernel.org>
Mon, 1 Sep 2025 14:08:11 +0000 (16:08 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 6 Sep 2025 20:22:24 +0000 (22:22 +0200)
Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/login.3

index 5f0a33b15e01d8164d93247a09071cdce321748c..8f2bf8640313f75452e2d1799f20ad342b2cb5fd 100644 (file)
@@ -17,8 +17,12 @@ System utilities library
 .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
@@ -27,11 +31,17 @@ The function
 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 ()
@@ -53,15 +63,23 @@ It takes the first of
 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