]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
timer_settime.2: Add LIBRARY section
authorAlejandro Colomar <alx.manpages@gmail.com>
Wed, 6 Oct 2021 19:58:24 +0000 (21:58 +0200)
committerAlejandro Colomar <alx.manpages@gmail.com>
Fri, 25 Feb 2022 15:33:04 +0000 (16:33 +0100)
man2/timer_settime.2

index 9eebc5d791d57eea47f4e1f89c556fbcfbdb9477..fa2a041c39bd6c8e8341d85283ff712d1f8b87db 100644 (file)
@@ -7,6 +7,9 @@
 .SH NAME
 timer_settime, timer_gettime \- arm/disarm and fetch
 state of POSIX per-process timer
+.SH LIBRARY
+Real-time library
+.RI ( librt ", " -lrt )
 .SH SYNOPSIS
 .nf
 .B  #include <time.h>
@@ -17,8 +20,6 @@ state of POSIX per-process timer
 .BI "int timer_gettime(timer_t " timerid ", struct itimerspec *" curr_value );
 .fi
 .PP
-Link with \fI\-lrt\fP.
-.PP
 .RS -4
 Feature Test Macro Requirements for glibc (see
 .BR feature_test_macros (7)):