Wide to Multibyte Character Conversion Function
int wctomb(char *mbchar, wchar_t wchar);
Internationalization (I18n) Function Overview
The wctomb converts the wide character, wchar , into a corresponding multibyte character, and stores the result in mbchar . It returns the number of bytes in the
multibyte character; else -1 in the event of an error.
I18n Issues
Prior to calling wctomb , ensure that the current locale is set correctly.
Recommended Replacements*
There are no variations of this conversion function.
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Multibyte and Wide
Character Conversion Functions
|