8 #if __cplusplus < 201103L
9 typedef unsigned short char16_t;
10 typedef unsigned char32_t;
13 #define __NEED_mbstate_t
17 #include <bits/alltypes.h>
19 size_t c16rtomb(char *__restrict, char16_t, mbstate_t *__restrict);
20 size_t mbrtoc16(char16_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict);
22 size_t c32rtomb(char *__restrict, char32_t, mbstate_t *__restrict);
23 size_t mbrtoc32(char32_t *__restrict, const char *__restrict, size_t, mbstate_t *__restrict);