From 1461e027579c16a6bd95a264d9a1db75a4c3fa74 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 3 Sep 2011 19:49:46 -0400 Subject: 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. --- include/wchar.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit v1.2.1