From: Alejandro Colomar Date: Sun, 6 Mar 2022 18:08:40 +0000 (+0100) Subject: pthread_yield.3: Add LIBRARY section (libpthread) X-Git-Tag: man-pages-5.19-rc1~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2856ba2abb0cfe18241fc6d91be307da9407b92;p=thirdparty%2Fman-pages.git pthread_yield.3: Add LIBRARY section (libpthread) Signed-off-by: Alejandro Colomar --- diff --git a/man3/pthread_yield.3 b/man3/pthread_yield.3 index d197924708..35fc90cf0e 100644 --- a/man3/pthread_yield.3 +++ b/man3/pthread_yield.3 @@ -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.