Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV | Corinna Vinschen | 2011-02-22 | 1 | -2/+2 |
| | | | | if incoming buffer is NULL. | ||||
* | Implement fmemopen and open_memstream. | Eric Blake | 2007-08-02 | 1 | -0/+371 |
* libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file. * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream): New file. * libc/stdio/fopencookie.c (fcwriter): Minor optimization. * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x functions together. (fmemopen, open_memstream): Declare new functions. * libc/stdio/stdio.tex: Document them. * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add fmemopen and open_memstream. * libc/stdio/Makefile.in: Regenerate. |