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>
This commit is contained in:
Michael Kerrisk 2020-10-26 17:13:33 +01:00
parent 588b77dc9d
commit 43891c16ed
2 changed files with 4 additions and 2 deletions

View File

@ -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.

View File

@ -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.