aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2020-10-26 17:13:33 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-10-26 17:13:33 +0100
commit43891c16edf44b794b0ee794ff3add948a3fb22e (patch)
tree62325e7472a77e789474f8f380f306ce61b8a27f
parent588b77dc9d10022db1cf98848b557ea1438ad2ca (diff)
downloadman-pages-43891c16edf44b794b0ee794ff3add948a3fb22e.tar.gz
argz_add.3, envz_add.3: Point out that 'error_t' is an integer type
Reported-by: Jonny Grant <jg@jguk.org> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/argz_add.33
-rw-r--r--man3/envz_add.33
2 files changed, 4 insertions, 2 deletions
diff --git a/man3/argz_add.3 b/man3/argz_add.3
index 40b6eaa5da..bf80e906b9 100644
--- a/man3/argz_add.3
+++ b/man3/argz_add.3
@@ -191,7 +191,8 @@ all null bytes (\(aq\e0\(aq) except the last by
.IR sep .
.SH RETURN VALUE
All argz functions that do memory allocation have a return type of
-.IR error_t ,
+.IR error_t
+(an integer type),
and return 0 for success, and
.B ENOMEM
if an allocation error occurs.
diff --git a/man3/envz_add.3 b/man3/envz_add.3
index c360c9604c..d4ed0a8be8 100644
--- a/man3/envz_add.3
+++ b/man3/envz_add.3
@@ -111,7 +111,8 @@ if there was one.
removes all entries with value NULL.
.SH RETURN VALUE
All envz functions that do memory allocation have a return type of
-.IR error_t ,
+.IR error_t
+(an integer type),
and return 0 for success, and
.B ENOMEM
if an allocation error occurs.