1 2 3 4 5 6 7
#include <uchar.h> #include <wchar.h> size_t c32rtomb(char *restrict s, char32_t c32, mbstate_t *restrict ps) { return wcrtomb(s, c32, ps); }