The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group


iswxdigit - test for a hexadecimal digit wide-character code


#include <wctype.h>

int iswxdigit(wint_t wc);


The iswxdigit() function tests whether wc is a wide-character code representing a character of class xdigit in the program's current locale, see the XBD specification, Locale .

In all cases wc is a wint_t, the value of which must be a wide-character code corresponding to a valid character in the current locale or must equal the value of the macro WEOF. If the argument has any other value, the behaviour is undefined.


The iswxdigit() function returns non-zero if wc is a hexadecimal digit wide-character code; otherwise it returns 0.


No errors are defined.




To ensure applications portability, especially across natural languages, only this function and those listed in the SEE ALSO section should be used for classification of wide-character codes.




iswalnum(), iswalpha(), iswcntrl(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), setlocale(), <wctype.h>, <wchar.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]