]> sourceware.org Git - newlib-cygwin.git/commit
* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Feb 2009 17:35:24 +0000 (17:35 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Feb 2009 17:35:24 +0000 (17:35 +0000)
commit84e851fd643d3e7b5433cae92bb057ee1db3d6af
treeb4f32581d65fb3e22b46d9aa4b4b6879f311b54e
parentc6b9747e0493e77bebb50082ced2bae877bc4aea
* libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
(struct memstream): Add wide element.
Change saved to a union to take char and wchar_t values.
(memwriter): Accommodate wide-oriented oeprations.
(memseeker): Ditto.
(memseeker64): Ditto.
(memcloser): Ditto.
(internal_open_memstream_r): New static function.  Take functionality
from former _open_memstream_r and handle additional "wide" parameter.
(_open_memstream_r): Just call internal_open_memstream_r with wide==-1
from here.
(_open_wmemstream_r): New function.
(open_wmemstream): Ditto.
* libc/include/wchar.h (open_wmemstream): Declare.
(_open_wmemstream_r): Declare.
newlib/ChangeLog
newlib/libc/include/wchar.h
newlib/libc/stdio/open_memstream.c
This page took 0.029148 seconds and 5 git commands to generate.