WCtype
wctype is a function in the C standard library, declared in the header <wctype.h>, that provides runtime lookup of wide-character classification properties. It maps a character class name, supplied as a string, to a corresponding classification mask of type wctype_t. This mask can then be used with the iswctype function to test whether a given wide character belongs to that class.
The signature is: wctype_t wctype(const char *name); The function returns a nonzero mask when the name is
Usage typically involves obtaining a mask once and applying it to multiple wide characters via iswctype. For
Portability notes: Not all environments implement every class name, and the exact set of names is locale-dependent.