aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:34:03 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:34:03 +0100
commit57cf70b5fc65d035a5b6d1b8fc0ef4845cbe8cfd (patch)
tree635083b41aa0b9e77161b734ad242f131d4fa8c5
parent41213817bade3eb8adab6b6e49d73e9d0be2044a (diff)
downloadman-pages-57cf70b5fc65d035a5b6d1b8fc0ef4845cbe8cfd.tar.gz
pthread_attr_setschedparam.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/pthread_attr_setschedparam.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_attr_setschedparam.3 b/man3/pthread_attr_setschedparam.3
index 1b2285bf92..027d0b8dde 100644
--- a/man3/pthread_attr_setschedparam.3
+++ b/man3/pthread_attr_setschedparam.3
@@ -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