aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2016-12-27 16:01:36 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-12-27 17:40:56 +0100
commita2db5b9d181875ef528f120b5b536ba11c48821e (patch)
treeaaabceb680f35c98155ec5c3afeebc5f80238022
parentbaecfd79dc9618fc2da1e174dd77c1eddeb69605 (diff)
downloadman-pages-a2db5b9d181875ef528f120b5b536ba11c48821e.tar.gz
getline.3: Document ENOMEM error case
see the error handling in libio/iogetdelim.c Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/getline.33
1 files changed, 3 insertions, 0 deletions
diff --git a/man3/getline.3 b/man3/getline.3
index 7020777f67..5f1d9c824a 100644
--- a/man3/getline.3
+++ b/man3/getline.3
@@ -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).