From 43891c16edf44b794b0ee794ff3add948a3fb22e Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 26 Oct 2020 17:13:33 +0100 Subject: [PATCH] argz_add.3, envz_add.3: Point out that 'error_t' is an integer type Reported-by: Jonny Grant Signed-off-by: Michael Kerrisk --- man3/argz_add.3 | 3 ++- man3/envz_add.3 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/man3/argz_add.3 b/man3/argz_add.3 index 40b6eaa5d..bf80e906b 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 c360c9604..d4ed0a8be 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.