wctype_t wctype(const char *property);

wctype constructs a value of type wctype_t that describes a class of wide characters identified by the string argument property.

If property identifies a valid class of wide characters in the current locale, wctype returns a nonzero value that is valid as the second argument to iswctype; otherwise, it returns zero.


The only mappings supported are "alnum", "alpha", "blank", "cntrl", "digit", "graph", "lower", "print", "punct", "space", "upper", and "xdigit".