iswxdigit


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( )



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net