getline.3: document ENOMEM error case
PATCH 1/1 getline.3: document ENOMEM error case
see the error handling in libio/iogetdelim.c
Signed-off-by Jann Horn <[email protected]>
--- man3/getline.3 | 3 +++ 1 file changed, 3 insertions(+)
man3/getline.3 +3 -0
@@ -134,6 +134,9 @@ or is NULL, or .I stream is not valid). +.TP +.B ENOMEM +Allocation or reallocation of the line buffer failed. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7).
Signature · 6 lines
2.8.0.rc3.226.g39d4020 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines · Jann Horn
see the error handling in
libio/iogetdelim.cSigned-off-by Jann Horn <[email protected]>
Thanks, Jann. Applied.
Cheers,
Michael
Quoted 19 lines
--- man3/getline.3 | 3 +++ 1 file changed, 3 insertions(+)man3/getline.3 +3
-0@@ -134,6 +134,9 @@ or is NULL, or .I stream is not valid). +.TP +.B ENOMEM +Allocation or reallocation of the line buffer failed. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7).
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html