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

index 9ed3a88f6a00e4cf9ce9f9dd9668113b8841be44..e3069fa320161a0ea0518c947a072a4525f630ca 100644 (file)
@@ -7,6 +7,9 @@
 .SH NAME
 pthread_attr_setstackaddr, pthread_attr_getstackaddr \-
 set/get stack address 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 stack address attribute in thread attributes object
 ", void *" stackaddr );
 .BI "int pthread_attr_getstackaddr(const pthread_attr_t *restrict " attr ,
 .BI "                              void **restrict " stackaddr );
-.PP
-Compile and link with \fI\-pthread\fP.
 .fi
 .SH DESCRIPTION
 These functions are obsolete: