[PATCH] manual: clarify buffer behavior in getline

Mike Frysinger vapier@gentoo.org
Thu Apr 3 22:28:00 GMT 2014


On Thu 03 Apr 2014 10:38:43 Roland McGrath wrote:
> >  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.

fixed & pushed
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140403/c968e3b2/attachment.sig>


More information about the Libc-alpha mailing list