summaryrefslogtreecommitdiffstats
path: root/upstream/opensuse-tumbleweed/man3/updwtmp.3
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 10:51:52 +0000
commit4ad94864781f48b1a4b77f9cfb934622bf756ba1 (patch)
tree3900955c1886e6d2570fea7125ee1f01bafe876d /upstream/opensuse-tumbleweed/man3/updwtmp.3
parentAdding upstream version 4.22.0. (diff)
downloadmanpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.tar.xz
manpages-l10n-4ad94864781f48b1a4b77f9cfb934622bf756ba1.zip
Adding upstream version 4.23.0.upstream/4.23.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'upstream/opensuse-tumbleweed/man3/updwtmp.3')
-rw-r--r--upstream/opensuse-tumbleweed/man3/updwtmp.311
1 files changed, 5 insertions, 6 deletions
diff --git a/upstream/opensuse-tumbleweed/man3/updwtmp.3 b/upstream/opensuse-tumbleweed/man3/updwtmp.3
index 99113e82..7a2c8f95 100644
--- a/upstream/opensuse-tumbleweed/man3/updwtmp.3
+++ b/upstream/opensuse-tumbleweed/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 2024-05-02 "Linux man-pages (unreleased)"
.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