[Previous] [Contents] [Next]

iswxdigit()

Test for any hexadecimal digit

Synopsis:

#include <wctype.h>

int iswxdigit( wint_t wc );

Library:

libc

Description:

The iswxdigit() function tests if the argument wc is a hexadecimal wide character of the class xdigit. In the C locale, they are: 0 to 9, A to F.

Returns:

=/= 0
The character is a member of the class xdigit.
0
Everything else.

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

Caveats:

The result is valid only for char arguments and WEOF.

See also:

setlocale()

"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.


[Previous] [Contents] [Next]