]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
pthread_attr_setstacksize.3: Add LIBRARY section (libpthread)
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 18:31:12 +0000 (19:31 +0100)
committerAlejandro Colomar <alx.manpages@gmail.com>
Sun, 6 Mar 2022 18:31:12 +0000 (19:31 +0100)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
man3/pthread_attr_setstacksize.3

index 68fe0b99397836d930f7055d12dbb2bfc9eb5067..551b2730f23484166755b8f352d069f199785de7 100644 (file)
@@ -7,6 +7,9 @@
 .SH NAME
 pthread_attr_setstacksize, pthread_attr_getstacksize \- set/get stack 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 " stacksize );
 .BI "int pthread_attr_getstacksize(const pthread_attr_t *restrict " attr ,
 .BI "                              size_t *restrict " stacksize );
-.PP
-Compile and link with \fI\-pthread\fP.
 .fi
 .SH DESCRIPTION
 The