Re: [PATCH] getline.3: document ENOMEM error case

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

 



On 12/27/2016 04:01 PM, Jann Horn wrote:
> see the error handling in libio/iogetdelim.c
> 
> Signed-off-by: Jann Horn <jannh@xxxxxxxxxx>

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@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