X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fwchar.h;h=27f00166b1eb9a4d96536ab8bb8fc5443cd61af7;hb=836ba93d93f901d25e8ed4ac34209cf547d8e217;hp=74f830dff31d50f4fdc164fe4e9aa53d19c6f9ab;hpb=e18b56382154fe1c5803f6b9ee36e2991174c037;p=musl diff --git a/include/wchar.h b/include/wchar.h index 74f830df..27f00166 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -47,6 +47,7 @@ wchar_t *wcsncat (wchar_t *, const wchar_t *, size_t); int wcscmp (const wchar_t *, const wchar_t *); int wcsncmp (const wchar_t *, const wchar_t *, size_t); +int wcscoll(const wchar_t *, const wchar_t *); size_t wcsxfrm (wchar_t *, const wchar_t *, size_t n); wchar_t *wcschr (const wchar_t *, wchar_t); @@ -130,6 +131,12 @@ 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) +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);