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

index d197924708877365221fe4bd3b0bd38b0ed0552c..35fc90cf0e052172b2854724483ad16f6dd860d6 100644 (file)
@@ -5,6 +5,9 @@
 .TH PTHREAD_YIELD 3 2021-03-22 "Linux" "Linux Programmer's Manual"
 .SH NAME
 pthread_yield \- yield the processor
+.SH LIBRARY
+POSIX threads library
+.RI ( libpthread ", " -lpthread )
 .SH SYNOPSIS
 .nf
 .BR "#define _GNU_SOURCE" "             /* See feature_test_macros(7) */"
@@ -12,8 +15,6 @@ pthread_yield \- yield the processor
 .PP
 .B int pthread_yield(void);
 .fi
-.PP
-Compile and link with \fI\-pthread\fP.
 .SH DESCRIPTION
 .BR Note :
 This function is deprecated; see below.