aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:34:26 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:34:26 +0100
commitc89369fb06417be1919382c407fc84ec1c1cf5d5 (patch)
tree3edbeb0c50cd4f4e91b16b9e1698aa0ab7089c1c
parent57cf70b5fc65d035a5b6d1b8fc0ef4845cbe8cfd (diff)
downloadman-pages-c89369fb06417be1919382c407fc84ec1c1cf5d5.tar.gz
pthread_attr_setinheritsched.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/pthread_attr_setinheritsched.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_attr_setinheritsched.3 b/man3/pthread_attr_setinheritsched.3
index 5484431031..8565ce7464 100644
--- a/man3/pthread_attr_setinheritsched.3
+++ b/man3/pthread_attr_setinheritsched.3
@@ -7,6 +7,9 @@
.SH NAME
pthread_attr_setinheritsched, pthread_attr_getinheritsched \- set/get
inherit-scheduler attribute in thread attributes object
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
.SH SYNOPSIS
.nf
.B #include <pthread.h>
@@ -15,8 +18,6 @@ inherit-scheduler attribute in thread attributes object
.BI " int " inheritsched );
.BI "int pthread_attr_getinheritsched(const pthread_attr_t *restrict " attr ,
.BI " int *restrict " inheritsched );
-.PP
-Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The