Name
iswxdigit
Synopsis
Ascertains whether a given wide character is a hexadecimal digit
#include <wctype.h> intiswxdigit( wint_twc);
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()
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access