aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:38:03 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:38:03 +0100
commitceb11b84f4ece56b7655a30762c97d8866ce758a (patch)
treec7a09f6693aa0cf6b6c8dfdecd114935f03ed077 /man3
parent975116fb85a954c4d2c8e0b5c31a7fef29f2774c (diff)
downloadman-pages-ceb11b84f4ece56b7655a30762c97d8866ce758a.tar.gz
pthread_attr_setdetachstate.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3')
-rw-r--r--man3/pthread_attr_setdetachstate.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_attr_setdetachstate.3 b/man3/pthread_attr_setdetachstate.3
index 24fef7bb2d..b502862c38 100644
--- a/man3/pthread_attr_setdetachstate.3
+++ b/man3/pthread_attr_setdetachstate.3
@@ -7,6 +7,9 @@
.SH NAME
pthread_attr_setdetachstate, pthread_attr_getdetachstate \-
set/get detach state attribute in thread attributes object
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
.SH SYNOPSIS
.nf
.B #include <pthread.h>
@@ -15,8 +18,6 @@ set/get detach state attribute in thread attributes object
", int " detachstate );
.BI "int pthread_attr_getdetachstate(const pthread_attr_t *" attr ,
.BI " int *" detachstate );
-.PP
-Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The