mirror of git://sourceware.org/git/glibc.git
[BZ #1997]
* manual/stdio.texi (String Streams): For open_memstream, elaborate a little on malloc reference.
This commit is contained in:
parent
2826ac7e14
commit
29402b1285
|
|
@ -1,5 +1,9 @@
|
||||||
2005-12-15 Roland McGrath <roland@redhat.com>
|
2005-12-15 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
[BZ #1997]
|
||||||
|
* manual/stdio.texi (String Streams): For open_memstream, elaborate a
|
||||||
|
little on malloc reference.
|
||||||
|
|
||||||
* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
|
* sysdeps/alpha/fpu/s_cacosf.c: Don't use sysdeps/generic/.
|
||||||
* sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
|
* sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
|
||||||
* sysdeps/alpha/fpu/s_casinf.c: Likewise.
|
* sysdeps/alpha/fpu/s_casinf.c: Likewise.
|
||||||
|
|
|
||||||
|
|
@ -4852,8 +4852,9 @@ Got r
|
||||||
@comment GNU
|
@comment GNU
|
||||||
@deftypefun {FILE *} open_memstream (char **@var{ptr}, size_t *@var{sizeloc})
|
@deftypefun {FILE *} open_memstream (char **@var{ptr}, size_t *@var{sizeloc})
|
||||||
This function opens a stream for writing to a buffer. The buffer is
|
This function opens a stream for writing to a buffer. The buffer is
|
||||||
allocated dynamically (as with @code{malloc}; @pxref{Unconstrained
|
allocated dynamically and grown as necessary, using @code{malloc}.
|
||||||
Allocation}) and grown as necessary.
|
After you've closed the stream, this buffer is your responsibility to
|
||||||
|
clean up using @code{free} or @code{realloc}. @xref{Unconstrained Allocation}.
|
||||||
|
|
||||||
When the stream is closed with @code{fclose} or flushed with
|
When the stream is closed with @code{fclose} or flushed with
|
||||||
@code{fflush}, the locations @var{ptr} and @var{sizeloc} are updated to
|
@code{fflush}, the locations @var{ptr} and @var{sizeloc} are updated to
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue