#include <stdlib.h> int wctomb(char *out, wchar_t in);
wctomb() , in, , out. , out, MB_CUR_MAX .
wctomb() , . -1.
out , wctomb() , , - . .