From 9a6ff5bc53dedbaa601a1a76cbaf8a76afd60c9f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:06 +0200 Subject: Adding upstream version 6.7. Signed-off-by: Daniel Baumann --- man3/login.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'man3/login.3') diff --git a/man3/login.3 b/man3/login.3 index b6fa4ae..a77a728 100644 --- a/man3/login.3 +++ b/man3/login.3 @@ -4,7 +4,7 @@ .\" .\" SPDX-License-Identifier: GPL-2.0-or-later .\" -.TH login 3 2023-07-20 "Linux man-pages 6.05.01" +.TH login 3 2023-10-31 "Linux man-pages 6.7" .SH NAME login, logout \- write utmp and wtmp entries .SH LIBRARY @@ -13,7 +13,7 @@ System utilities library .SH SYNOPSIS .nf .B #include -.PP +.P .BI "void login(const struct utmp *" ut ); .BI "int logout(const char *" ut_line ); .fi @@ -22,14 +22,14 @@ The utmp file records who is currently using the system. The wtmp file records all logins and logouts. See .BR utmp (5). -.PP +.P The function .BR login () takes the supplied .IR "struct utmp" , .IR ut , and writes it to both the utmp and the wtmp file. -.PP +.P The function .BR logout () clears the entry in the utmp file again. @@ -59,7 +59,7 @@ 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. -.PP +.P The .BR logout () function searches the utmp file for an entry matching the @@ -113,7 +113,7 @@ MT-Unsafe race:utent sig:ALRM timer T} .TE -.sp 1 +.P In the above table, .I utent in -- cgit v1.2.3