diff --git a/headers/posix/wchar.h b/headers/posix/wchar.h index 25c340ccc9..a3413186c6 100644 --- a/headers/posix/wchar.h +++ b/headers/posix/wchar.h @@ -19,7 +19,18 @@ typedef struct { #include +size_t mbrlen(const char *s, size_t n, mbstate_t *ps); +size_t mbrtowc(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps); +size_t mbsrtowcs(wchar_t *dst, const char **src, size_t len, + mbstate_t *ps); int mbsinit(const mbstate_t *); size_t wcrtomb(char *, wchar_t, mbstate_t *); +wchar_t *wcschr(const wchar_t *ws, wchar_t wc); +int wcscmp(const wchar_t *ws1, const wchar_t *ws2); +int wcscoll(const wchar_t *ws1, const wchar_t *ws2); +size_t wcsrtombs(char *dst, const wchar_t **src, size_t len, + mbstate_t *ps); + +#define WEOF ((wint_t)(-1)) #endif /* _WCHAR_H */