diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-07 07:50:50 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-01-07 14:27:27 +0100 |
| commit | 855d489a7f90cfeaae45c55f80a65dc2135aaa75 (patch) | |
| tree | 4abe8c4d7939f1411d3560bae3ca889c9db2959c /man2/write.2 | |
| parent | 3cf2958737d292a2e5205f0ed662d70f4e3c9187 (diff) | |
| download | man-pages-855d489a7f90cfeaae45c55f80a65dc2135aaa75.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, "to indicate the cause of the error"
is changed to "to indicate the error".
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/write.2')
| -rw-r--r-- | man2/write.2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/write.2 b/man2/write.2 index 37b251d9f8..b6c42df8a7 100644 --- a/man2/write.2 +++ b/man2/write.2 @@ -98,7 +98,7 @@ see NOTES for the upper limit on Linux. .SH RETURN VALUE On success, the number of bytes written is returned. On error, \-1 is returned, and \fIerrno\fP is set -to indicate the cause of the error. +to indicate the error. .PP Note that a successful .BR write () |
