From: Alejandro Colomar Date: Sun, 6 Mar 2022 18:31:12 +0000 (+0100) Subject: pthread_attr_setstacksize.3: Add LIBRARY section (libpthread) X-Git-Tag: man-pages-5.19-rc1~231 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b0637014e4bfbf8e7658e0b9f5b849ca283debd;p=thirdparty%2Fman-pages.git pthread_attr_setstacksize.3: Add LIBRARY section (libpthread) Signed-off-by: Alejandro Colomar --- diff --git a/man3/pthread_attr_setstacksize.3 b/man3/pthread_attr_setstacksize.3 index 68fe0b9939..551b2730f2 100644 --- a/man3/pthread_attr_setstacksize.3 +++ b/man3/pthread_attr_setstacksize.3 @@ -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 @@ -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