]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
updwtmp.3: Add LIBRARY section (libutil)
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 27 Feb 2022 19:22:48 +0000 (20:22 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 27 Feb 2022 19:22:51 +0000 (20:22 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/updwtmp.3

index 1f8a628125f5229b2dfd9f48d09e6a16e375e17a..854de1050a982cfcdc5cd706b3c33b0a2f9838ea 100644 (file)
@@ -10,6 +10,9 @@
 .TH UPDWTMP 3  2021-03-22 "GNU" "Linux Programmer's Manual"
 .SH NAME
 updwtmp, logwtmp \- append an entry to the wtmp file
+.SH LIBRARY
+System utilities library
+.RI ( libutil ", " -lutil )
 .SH SYNOPSIS
 .nf
 .B #include <utmp.h>
@@ -18,10 +21,6 @@ updwtmp, logwtmp \- append an entry to the wtmp file
 .BI "void logwtmp(const char *" line ", const char *" name \
 ", const char *" host );
 .fi
-.PP
-For
-.BR logwtmp (),
-link with \fI\-lutil\fP.
 .SH DESCRIPTION
 .BR updwtmp ()
 appends the utmp structure