You copied the Doc URL to your clipboard.


Defined in wchar.h, the wcstombs() function works as described in the ISO C standard, with extended functionality as specified by POSIX.

That is, if s is a NULL pointer, wcstombs() returns the length required to convert the entire array regardless of the value of n, but no values are stored.


size_t wcstombs(char *s, const wchar_t *pwcs, size_t n);