system_data_types.7: Add 'error_t'
PATCH 1/2 system_data_types.7: Add 'error_t'
Signed-off-by Alejandro Colomar <[email protected]>
--- man7/system_data_types.7 | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+)
man7/system_data_types.7 +33 -0
@@ -199,6 +199,39 @@ See also the .I float_t type in this page. .RE +.\"------------------------------------- error_t ----------------------/ +.TP +.I error_t +.RS +Include: +.IR <errno.h> . +Alternatively, +.IR <argz.h> , +or +.IR <envz.h> . +.PP +An integer type +used for error reporting. +A value of 0 means success, and nonzero means failure. +Portable programs should use +.I int +instead. +.PP +Conforming to: +Present in glibc. +It is not standardized by the C language standard nor POSIX. +.PP +Notes: +C11 standardized a similar type as an optional extension: +.IR errno_t . +However, +.I errno_t +is not present in POSIX. +.PP +See also: +.BR argz_add (3), +.BR envz_add (3) +.RE .\"------------------------------------- fd_set -----------------------/ .TP .I fd_set
Signature · 1 line
2.28.0
PATCH 2/2 error_t: New link to system_data_types(7)
Signed-off-by Alejandro Colomar <[email protected]>
--- man3/error_t.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/error_t.3
man3/error_t.3 new file +1 -0
@@ -0,0 +1 @@ +.so man7/system_data_types.7
Signature · 1 line
2.28.0