aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strdup.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 07:50:50 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2021-01-07 14:27:27 +0100
commit855d489a7f90cfeaae45c55f80a65dc2135aaa75 (patch)
tree4abe8c4d7939f1411d3560bae3ca889c9db2959c /man3/strdup.3
parent3cf2958737d292a2e5205f0ed662d70f4e3c9187 (diff)
downloadman-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 'man3/strdup.3')
-rw-r--r--man3/strdup.32
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/strdup.3 b/man3/strdup.3
index 8900a26d75..65ee22df91 100644
--- a/man3/strdup.3
+++ b/man3/strdup.3
@@ -109,7 +109,7 @@ function returns a pointer to the duplicated
string.
It returns NULL if insufficient memory was available, with
.I errno
-set to indicate the cause of the error.
+set to indicate the error.
.SH ERRORS
.TP
.B ENOMEM