aboutsummaryrefslogtreecommitdiffstats
path: root/man3/pthread_exit.3
diff options
context:
space:
mode:
authorAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:27:30 +0100
committerAlejandro Colomar <alx.manpages@gmail.com>2022-03-06 19:27:30 +0100
commit97c892321d6b8cfd2ab1bfc5a3da46bd349c97e3 (patch)
tree60d40f92a1e875c9af0e7b660356940eaccd42d2 /man3/pthread_exit.3
parente447c08d70d772c0e5fa1b0f8ca5a5e636565ff0 (diff)
downloadman-pages-97c892321d6b8cfd2ab1bfc5a3da46bd349c97e3.tar.gz
pthread_exit.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Diffstat (limited to 'man3/pthread_exit.3')
-rw-r--r--man3/pthread_exit.35
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_exit.3 b/man3/pthread_exit.3
index 3e789db008..8da80829df 100644
--- a/man3/pthread_exit.3
+++ b/man3/pthread_exit.3
@@ -6,13 +6,14 @@
.TH PTHREAD_EXIT 3 2021-03-22 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_exit \- terminate calling thread
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
.SH SYNOPSIS
.nf
.B #include <pthread.h>
.PP
.BI "noreturn void pthread_exit(void *" retval );
-.PP
-Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
The