diff mbox series

[1/2] system_data_types.7: Add 'error_t'

Message ID 20201026215519.23601-1-colomar.6.4.3@gmail.com
State Not Applicable
Headers show
Series [1/2] system_data_types.7: Add 'error_t' | expand

Commit Message

Alejandro Colomar Oct. 26, 2020, 9:55 p.m. UTC
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
 man7/system_data_types.7 | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
diff mbox series


diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 49ca2d8e1..7aa4eb3a1 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -199,6 +199,39 @@  See also the
 .I float_t
 type in this page.
+.\"------------------------------------- error_t ----------------------/
+.I error_t
+.IR <errno.h> .
+.IR <argz.h> ,
+.IR <envz.h> .
+An integer type
+used for error reporting.
+A value of 0 means success, and nonzero means failure.
+Portable programs should use
+.I int
+Conforming to:
+Present in glibc.
+It is not standardized by the C language standard nor POSIX.
+C11 standardized a similar type as an optional extension:
+.IR errno_t .
+.I errno_t
+is not present in POSIX.
+See also:
+.BR argz_add (3),
+.BR envz_add (3)
 .\"------------------------------------- fd_set -----------------------/
 .I fd_set