* [PATCH] getline.3: document ENOMEM error case
@ 2016-12-27 15:01 Jann Horn
[not found] ` <1482850896-85601-1-git-send-email-jannh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Jann Horn @ 2016-12-27 15:01 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w; +Cc: linux-man-u79uwXL29TY76Z2rM5mHXA
see the error handling in libio/iogetdelim.c
Signed-off-by: Jann Horn <jannh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
---
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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] getline.3: document ENOMEM error case
[not found] ` <1482850896-85601-1-git-send-email-jannh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
@ 2016-12-27 16:41 ` Michael Kerrisk (man-pages)
0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2016-12-27 16:41 UTC (permalink / raw)
To: Jann Horn
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA
On 12/27/2016 04:01 PM, Jann Horn wrote:
> see the error handling in libio/iogetdelim.c
>
> Signed-off-by: Jann Horn <jannh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
Thanks, Jann. Applied.
Cheers,
Michael
> ---
> 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).
>
--
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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-27 16:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-27 15:01 [PATCH] getline.3: document ENOMEM error case Jann Horn
[not found] ` <1482850896-85601-1-git-send-email-jannh-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2016-12-27 16:41 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.