aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:37:04 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:37:04 +0100
commit975116fb85a954c4d2c8e0b5c31a7fef29f2774c (patch)
tree0fe843b659bb3ebc5be43620a6b6489ed6afe505
parentc89369fb06417be1919382c407fc84ec1c1cf5d5 (diff)
downloadman-pages-975116fb85a954c4d2c8e0b5c31a7fef29f2774c.tar.gz
pthread_attr_setguardsize.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/pthread_attr_setguardsize.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_attr_setguardsize.3 b/man3/pthread_attr_setguardsize.3
index 55a4513444..66749fcf9f 100644
--- a/man3/pthread_attr_setguardsize.3
+++ b/man3/pthread_attr_setguardsize.3
@@ -7,6 +7,9 @@
.SH NAME
pthread_attr_setguardsize, pthread_attr_getguardsize \- set/get guard size
attribute in thread attributes object
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
.SH SYNOPSIS
.nf
.B #include <pthread.h>
@@ -15,8 +18,6 @@ attribute in thread attributes object
", size_t " guardsize );
.BI "int pthread_attr_getguardsize(const pthread_attr_t *restrict " attr ,
.BI " size_t *restrict " guardsize );
-.PP
-Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The