diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2022-03-06 19:16:49 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx.manpages@gmail.com> | 2022-03-06 19:16:49 +0100 |
| commit | 1cefd9b1a32411ac9a765eff4612d808823f56fc (patch) | |
| tree | 1d49f5a14a5da1e72c6068237307d684df16dd4a | |
| parent | c3691727f2575474bcc13e394972ee5db4be7e12 (diff) | |
| download | man-pages-1cefd9b1a32411ac9a765eff4612d808823f56fc.tar.gz | |
pthread_setname_np.3: Add LIBRARY section (libpthread)
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
| -rw-r--r-- | man3/pthread_setname_np.3 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3 index f50427c46c..4300ac1fa4 100644 --- a/man3/pthread_setname_np.3 +++ b/man3/pthread_setname_np.3 @@ -6,6 +6,9 @@ .TH PTHREAD_SETNAME_NP 3 2021-08-27 "Linux" "Linux Programmer's Manual" .SH NAME pthread_setname_np, pthread_getname_np \- set/get the name of a thread +.SH LIBRARY +POSIX threads library +.RI ( libpthread ", " -lpthread ) .SH SYNOPSIS .nf .BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */" @@ -14,8 +17,6 @@ pthread_setname_np, pthread_getname_np \- set/get the name of a thread .BI "int pthread_setname_np(pthread_t " thread ", const char *" name ); .BI "int pthread_getname_np(pthread_t " thread ", char *" name ", size_t " len ); .fi -.PP -Compile and link with \fI\-pthread\fP. .SH DESCRIPTION By default, all the threads created using .BR pthread_create () |
