From: Alejandro Colomar Date: Sun, 27 Feb 2022 19:22:48 +0000 (+0100) Subject: updwtmp.3: Add LIBRARY section (libutil) X-Git-Tag: man-pages-5.19-rc1~398 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0f144b2b86c09df5ceed30e34d0749b16a5f9a8;p=thirdparty%2Fman-pages.git updwtmp.3: Add LIBRARY section (libutil) Signed-off-by: Alejandro Colomar --- diff --git a/man3/updwtmp.3 b/man3/updwtmp.3 index 1f8a628125..854de1050a 100644 --- a/man3/updwtmp.3 +++ b/man3/updwtmp.3 @@ -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 @@ -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