Single-Byte to Wide Character Conversion Function
wint_t btowc(int c);
Internationalization (I18n) Function Overview
The btowc converts the 1-byte multibyte character, c , into a corresponding
wide character, using the conversion rules of the LC_CTYPE category setting of the current locale.
The function returns the wide character if successful, else WEOF in the event of an error or if c equals EOF .
I18n Issues
Prior to calling btowc , 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
|