aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pipe.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 09:22:57 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 14:27:51 +0100
commitc112329ffea6c3ba5be9fc9bb47f285672d582e9 (patch)
treef60425c467c87f92b75cb4ab8850ef53f138d244 /man2/pipe.2
parentf6a4078be5cf1248a561e89b1fb1f1fb61515f41 (diff)
downloadman-pages-c112329ffea6c3ba5be9fc9bb47f285672d582e9.tar.gz
Various pages: Standardize wording around setting of 'errno' on error
In the RETURN VALUE sections, a number of different wordings are used in to describe the fact that 'errno' is set on error. There's no reason for the difference in wordings, since the same thing is being described in each case. Switch to a standard wording that is the same as FreeBSD and similar to the wording used in POSIX.1. In this change, reword various cases saying that 'errno' is set "appropriately" to "is set to indicate the error". Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/pipe.2')
-rw-r--r--man2/pipe.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/pipe.2 b/man2/pipe.2
index ef282300e5..078b579259 100644
--- a/man2/pipe.2
+++ b/man2/pipe.2
@@ -150,7 +150,7 @@ to achieve the same result.
On success, zero is returned.
On error, \-1 is returned,
.I errno
-is set appropriately, and
+is set to indicate the error, and
.I pipefd
is left unchanged.
.PP