diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-09-03 19:49:46 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-09-03 19:49:46 -0400 |
commit | 1461e027579c16a6bd95a264d9a1db75a4c3fa74 (patch) | |
tree | 452bbfbacd707fcfd6f39e354a34824f4c16230e /include/wchar.h | |
parent | ad70ba774fe4fda8379b59b2b353cbd451d693cc (diff) | |
download | musl-1461e027579c16a6bd95a264d9a1db75a4c3fa74.tar.gz musl-1461e027579c16a6bd95a264d9a1db75a4c3fa74.tar.bz2 musl-1461e027579c16a6bd95a264d9a1db75a4c3fa74.tar.xz musl-1461e027579c16a6bd95a264d9a1db75a4c3fa74.zip |
implement open_wmemstream
not heavily tested, but it seems to be correct, including the odd
behavior that seeking is in terms of wide character count. this
precludes any simple buffering, so we just make the stream unbuffered.
Diffstat (limited to 'include/wchar.h')
-rw-r--r-- | include/wchar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 27f00166..c3d8b045 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -133,6 +133,7 @@ size_t wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) +FILE *open_wmemstream(wchar_t **, size_t *); size_t mbsnrtowcs(wchar_t *, const char **, size_t, size_t, mbstate_t *); size_t wcsnrtombs(char *, const wchar_t **, size_t, size_t, mbstate_t *); #endif |