wctype
#include <wctype.h>
int main() {
wint_t c = L'a';
if (iswalpha(c)) {
// c is an alphabetic character
}
return 0;
}#include <wctype.h>
int main() {
wint_t c = L'A';
wctype_t type = wctype("alpha");
wint_t lower = towlower(c, type);
// lower now contains 'a'
return 0;
}