aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:18:18 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:18:18 +0100
commit223a81428a87f0852538344e195b72ebf05b7271 (patch)
treed1d7b4f173c5cecb96fd4106f89c4e6ea8509fa3
parent7f12ddae7577ff23e6524b50363a8af0411d692a (diff)
downloadman-pages-223a81428a87f0852538344e195b72ebf05b7271.tar.gz
pthread_mutex_consistent.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r--man3/pthread_mutex_consistent.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_mutex_consistent.3 b/man3/pthread_mutex_consistent.3
index 89364410e3..6d825434a6 100644
--- a/man3/pthread_mutex_consistent.3
+++ b/man3/pthread_mutex_consistent.3
@@ -6,6 +6,9 @@
.TH PTHREAD_MUTEX_CONSISTENT 3 2021-08-27 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_mutex_consistent \- make a robust mutex consistent
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
.SH SYNOPSIS
.nf
.B #include <pthread.h>
@@ -13,8 +16,6 @@ pthread_mutex_consistent \- make a robust mutex consistent
.BI "int pthread_mutex_consistent(pthread_mutex_t *" mutex ");"
.fi
.PP
-Compile and link with \fI\-pthread\fP.
-.PP
.RS -4
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):