|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <wctype.h> | ||
wctype_t wctype(constchar* str); | (since C95) | |
Constructs a value of typewctype_t that describes aLC_CTYPE category of wide character classification. It may be one of the standard classification categories, or a locale-specific category, such as"jkanji".
Contents |
| str | - | C string holding the name of the desired category |
The following values ofstr are supported in all C locales:
value ofstr | effect |
"alnum" | identifies the category used byiswalnum |
"alpha" | identifies the category used byiswalpha |
"blank" | identifies the category used byiswblank(C99) |
"cntrl" | identifies the category used byiswcntrl |
"digit" | identifies the category used byiswdigit |
"graph" | identifies the category used byiswgraph |
"lower" | identifies the category used byiswlower |
"print" | identifies the category used byiswprint |
"space" | identifies the category used byiswspace |
"upper" | identifies the category used byiswupper |
"xdigit" | identifies the category used byiswxdigit |
wctype_t object suitable for use withiswctype to classify wide characters according to the named category of the current C locale or zero ifstr does not name a category supported by the current C locale.
(C95) | classifies a wide character according to the specifiedLC_CTYPE category (function)[edit] |
C++ documentation forwctype | |