Previous Page
Next Page

iswxdigit

Ascertains whether a given wide character is a hexadecimal digit

#include <wctype.h>
int iswxdigit ( wint_t wc  );

The iswxdigit( ) function is the wide-character version of the isxdigit( ) character classification function. It tests whether its character argument is a hexadecimal digit, and returns a nonzero value (that is, TRue) if the character is one of the digits between L'0' and L'9' inclusive, or a letter from L'A' tHRough L'F' or from L'a' through L'f' inclusive. If not, the function returns 0 (false).

Example

See the example for iswalpha( ) in this chapter.

See Also

iswdigit( ); the corresponding functions for byte characters, isdigit( ) and isxdigit( ); iswalnum( ), iswalpha( ), iswblank( ), iswcntrl( ), iswgraph( ), iswlower( ), iswprint( ), iswpunct( ), iswspace( ), iswupper( ), setlocale( ); the extensible wide-character classification function, iswctype( )


Previous Page
Next Page