Test a wide character to see if it's alphabetic
#include <wctype.h> int iswalpha( wint_t wc );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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.
A nonzero value if the character is a member of the class alpha, or 0 otherwise.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |
The result is valid only for wchar_t arguments and WEOF.
isalpha(), iswalnum(), iswcntrl(), iswctype(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale(), towlower(), towupper()