![]() |
![]() |
![]() |
Test for character classes
#include <wctype.h> int iswalnum( wint_t wc );
libc
The iswalnum() function tests if the argument wc is an alphanumeric wide character of the class alpha or digit. In the C locale, they are: a to z, A to Z, 0 to 9.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
The result is valid only for char arguments and WEOF.
"Character manipulation functions" and "Wide-character functions" in the summary of functions chapter.
![]() |
![]() |
![]() |