This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] manual: clarify buffer behavior in getline
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org, David Svoboda <svoboda at cert dot org>
- Date: Thu, 3 Apr 2014 10:38:43 -0700 (PDT)
- Subject: Re: [PATCH] manual: clarify buffer behavior in getline
- Authentication-results: sourceware.org; auth=none
- References: <1396430311-1158-1-git-send-email-vapier at gentoo dot org>
> 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.