summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-09-03 19:49:46 -0400
committerRich Felker <dalias@aerifal.cx>2011-09-03 19:49:46 -0400
commit1461e027579c16a6bd95a264d9a1db75a4c3fa74 (patch)
tree452bbfbacd707fcfd6f39e354a34824f4c16230e /include/wchar.h
parentad70ba774fe4fda8379b59b2b353cbd451d693cc (diff)
downloadmusl-1461e027579c16a6bd95a264d9a1db75a4c3fa74.tar.gz
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.h1
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