X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fwchar.h;h=c3d8b045440a696bfc437b86f83ee182900d2b92;hb=801b311a5b6f00a9490ae9933439d1e62451fbd3;hp=f53621065438f06d96373cc733ac4947c4399542;hpb=1c1aa32eea467b2ed43b457b5528713933b32e95;p=musl diff --git a/include/wchar.h b/include/wchar.h index f5362106..c3d8b045 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -131,6 +131,13 @@ size_t wcsftime (wchar_t *, size_t, const wchar_t *, const struct tm *); #undef iswdigit +#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 + #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) int wcwidth (wchar_t); int wcswidth (const wchar_t *, size_t);