Test for character classes
#include <wctype.h> int iswalpha( wint_t wc );
libc
The iswalpha() function tests if the argument wc is an alphabetic wide character of the class alpha. In the C locale, they are: a to z, A to Z.
| 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.