]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
pthread_attr_setschedparam.3: Add LIBRARY section (libpthread)
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 18:34:03 +0000 (19:34 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 18:34:03 +0000 (19:34 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/pthread_attr_setschedparam.3

index 1b2285bf926fd803942ad7c2dede3e1908579b46..027d0b8dde1898db695d931a36d63a0799f9b357 100644 (file)
@@ -7,6 +7,9 @@
 .SH NAME
 pthread_attr_setschedparam, pthread_attr_getschedparam \- set/get
 scheduling parameter attributes in thread attributes object
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
 .SH SYNOPSIS
 .nf
 .B #include <pthread.h>
@@ -15,8 +18,6 @@ scheduling parameter attributes in thread attributes object
 .BI "                              const struct sched_param *restrict " param );
 .BI "int pthread_attr_getschedparam(const pthread_attr_t *restrict " attr ,
 .BI "                              struct sched_param *restrict " param );
-.PP
-Compile and link with \fI\-pthread\fP.
 .fi
 .SH DESCRIPTION
 The