[PATCH] manual: clarify buffer behavior in getline

Roland McGrath roland@hack.frob.com
Thu Apr 3 17:38:00 GMT 2014


>  If you set @code{*@var{lineptr}} to a null pointer, and @code{*@var{n}}
>  to zero, before the call, then @code{getline} allocates the initial
> -buffer for you by calling @code{malloc}.
> +buffer for you by calling @code{malloc}. This buffer remains allocated

Two spaces.

Otherwise fine.



More information about the Libc-alpha mailing list