diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-03-06 19:38:03 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-03-06 19:38:03 +0100 |
| commit | ceb11b84f4ece56b7655a30762c97d8866ce758a (patch) | |
| tree | c7a09f6693aa0cf6b6c8dfdecd114935f03ed077 /man3 | |
| parent | 975116fb85a954c4d2c8e0b5c31a7fef29f2774c (diff) | |
| download | man-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.3 | 5 |
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 |
