]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
getpriority.2, recv.2, fts.3: wfix
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 7 Feb 2021 10:38:49 +0000 (11:38 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 7 Feb 2021 11:01:36 +0000 (12:01 +0100)
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 <mtk.manpages@gmail.com>
man2/getpriority.2
man2/recv.2
man3/fts.3

index 56c01cb0bce846db7d6da308ed1226835bfaff9f..2efcb2ecdd98adb3380757be7011e5256fc54c8f 100644 (file)
@@ -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
index f0d48fccfcef72869ee2787a735a366912737793..7c195728f947ebce66caa56040fbc4b131573be8 100644 (file)
@@ -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 .
index 9bcc93849903cccd154c9909f0a15f09fbe855d5..93266f997c89828ed1ab964cb60ed8fdaefddff1 100644 (file)
@@ -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,