Character Manipulation Function
int isxdigit(int c);
int iswxdigit(wint_t c);
int _istxdigit(_TINT c);
Internationalization (I18n) Function Overview
The function isxdigit tests for any hexadecimal character ('0' through '9', 'a' through
'f', and 'A' through 'F'), using the LC_CTYPE category setting of the current locale.
iswxdigit is the wide character equivalent of isxdigit , testing the wide character c .
_istxdigit is the Windows-only Generic version of the function; with the _MBCS or _UNICODE compiler flags determining its mapping to either isxdigit or iswxdigit .
I18n Issues
Use the appropriate version of the function as required for internationalization support, noting the following:
There is no multibyte version of isxdigit . However, since the test is for a character in the ASCII range,
this function will work for multibyte characters, as long as the test is made on the initial byte of the multibyte character.
Prior to calling isxdigit on both ANSI and Windows platforms, and iswxdigit on ANSI platforms, ensure that the locale is set correctly, since
the result of the test condition depends on the locale's LC_CTYPE category setting.
On Windows platforms, the iswxdigit test is independent of locale.
Recommended Replacements*
*If you're already using the recommended function, see I18n Issues for other reasons why Globalyzer is detecting the function.
Character Manipulation
Functions
|