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

index ac1a8b0a1de4a8fdf2776c430a74e39ecc9f66b0..0c7050b9fa7aba24856a6358ffb7ecd4014165a1 100644 (file)
@@ -6,14 +6,15 @@
 .TH PTHREAD_GETATTR_NP 3 2021-03-22 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_getattr_np \- get attributes of created thread
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
 .B #include <pthread.h>
 .PP
 .BI "int pthread_getattr_np(pthread_t " thread ", pthread_attr_t *" attr );
-.PP
-Compile and link with \fI\-pthread\fP.
 .fi
 .SH DESCRIPTION
 The