summaryrefslogtreecommitdiffstats
path: root/man3/updwtmp.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/updwtmp.3')
-rw-r--r--man3/updwtmp.311
1 files changed, 5 insertions, 6 deletions
diff --git a/man3/updwtmp.3 b/man3/updwtmp.3
index 99113e8..6548393 100644
--- a/man3/updwtmp.3
+++ b/man3/updwtmp.3
@@ -8,7 +8,7 @@
.\" Added -lutil remark, 030718
.\" 2008-07-02, mtk, document updwtmpx()
.\"
-.TH updwtmp 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH updwtmp 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
updwtmp, logwtmp \- append an entry to the wtmp file
.SH LIBRARY
@@ -17,7 +17,7 @@ System utilities library
.SH SYNOPSIS
.nf
.B #include <utmp.h>
-.PP
+.P
.BI "void updwtmp(const char *" wtmp_file ", const struct utmp *" ut );
.BI "void logwtmp(const char *" line ", const char *" name \
", const char *" host );
@@ -27,7 +27,7 @@ System utilities library
appends the utmp structure
.I ut
to the wtmp file.
-.PP
+.P
.BR logwtmp ()
constructs a utmp structure using
.IR line ", " name ", " host ,
@@ -54,12 +54,11 @@ T{
.BR logwtmp ()
T} Thread safety MT-Unsafe sig:ALRM timer
.TE
-.sp 1
.SH VERSIONS
For consistency with the other "utmpx" functions (see
.BR getutxent (3)),
glibc provides (since glibc 2.1):
-.PP
+.P
.in +4n
.EX
.BR "#define _GNU_SOURCE " "/* See feature_test_macros(7) */"
@@ -67,7 +66,7 @@ glibc provides (since glibc 2.1):
.BI "void updwtmpx (const char *" wtmpx_file ", const struct utmpx *" utx );
.EE
.in
-.PP
+.P
This function performs the same task as
.BR updwtmp (),
but differs in that it takes a