#include <stdlib.h> size_t wcstombs(char *s, const wchar_t *wcs, size_t n);
Converts a wide character string to a multibyte string. At most n characters are stored.
The number of characters stored.
ANSI, POSIX
int len = wcstombs(buf, wstring, sizeof(buf));
Go to the first, previous, next, last section, table of contents.