This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] manual: clarify buffer behavior in getline


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]