[PATCH] getline.3: document ENOMEM error case

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



see the error handling in libio/iogetdelim.c

Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>
---
 man3/getline.3 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/man3/getline.3 b/man3/getline.3
index 7020777..5f1d9c8 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).
-- 
2.8.0.rc3.226.g39d4020

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux