From: Michael Kerrisk Date: Sun, 7 Feb 2021 10:38:49 +0000 (+0100) Subject: getpriority.2, recv.2, fts.3: wfix X-Git-Tag: man-pages-5.11~216 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba50f49c69e28433baefca7d2268144fbc761978;p=thirdparty%2Fman-pages.git getpriority.2, recv.2, fts.3: wfix These pages have the odd wording 'the external variable errno', which does not occur in other pages. Make these pages conform with the norm. Signed-off-by: Michael Kerrisk --- diff --git a/man2/getpriority.2 b/man2/getpriority.2 index 56c01cb0bc..2efcb2ecdd 100644 --- a/man2/getpriority.2 +++ b/man2/getpriority.2 @@ -128,7 +128,7 @@ to indicate the error. Since a successful call to .BR getpriority () can legitimately return the value \-1, it is necessary -to clear the external variable +to clear .I errno prior to the call, then check diff --git a/man2/recv.2 b/man2/recv.2 index f0d48fccfc..7c195728f9 100644 --- a/man2/recv.2 +++ b/man2/recv.2 @@ -93,7 +93,7 @@ received from. If no messages are available at the socket, the receive calls wait for a message to arrive, unless the socket is nonblocking (see .BR fcntl (2)), -in which case the value \-1 is returned and the external variable +in which case the value \-1 is returned and .I errno is set to .BR EAGAIN " or " EWOULDBLOCK . diff --git a/man3/fts.3 b/man3/fts.3 index 9bcc938499..93266f997c 100644 --- a/man3/fts.3 +++ b/man3/fts.3 @@ -550,9 +550,7 @@ or directories more than twice.) .PP If all the members of the hierarchy have been returned, .BR fts_read () -returns -NULL -and sets the external variable +returns NULL and sets .I errno to 0. If an error unrelated to a file in the hierarchy occurs,