1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#if 0 #include <wchar.h> size_t mbrlen(const char * restrict s, size_t n, mbstate_t * restrict ps) { static mbstate_t internal = 0; return mbrtowc(NULL, s, n, ps != NULL ? ps : &internal); } /* STDC(199409) */ #endif