Q&A is closed
#include <wchar.h> size_t wcrtomb(char *restrict, wchar_t, mbstate_t *restrict);
no example yet