wctype.h
Overview
Related Modules:
Description:
Provides functions to detect, translate, and map wide characters.
Wide characters are classified into the following types: alnum, alpha, upper, lower, digit, xdigit, graph, cntrl, punct, and space. You can use these functions to detect the type of wide characters and translate the type for the current locale LC_CTYPE or a specified locale. You can use these functions to convert the case of wide characters, map the wide characters, and obtain the mapping descriptor for conversion.
Since:
1.0
Version:
1.0
Summary
Functions
iswalnum (wint_t wc) |
|
iswalpha (wint_t wc) |
|
iswblank (wint_t wc) |
Checks whether a wide character is a space or tab character (\t). |
iswcntrl (wint_t wc) |
|
iswdigit (wint_t wc) |
|
iswgraph (wint_t wc) |
|
iswlower (wint_t wc) |
|
iswprint (wint_t wc) |
|
iswpunct (wint_t wc) |
|
iswupper (wint_t wc) |
|
iswxdigit (wint_t wc) |
|
iswctype (wint_t wc, wctype_t desc) |
Checks whether the character specified by wc belongs to the desc class. |
Translates the type of a wide character based on the conversion mapping relationship. |
|
towlower (wint_t wc) |
|
towupper (wint_t wc) |
|
wctrans (const char name) |
Determines a mapping which can map a wide character to another wide character. |
wctype (const char name) |
Checks whether a wide character type exists in the LC_CTYPE locale. |
iswalnum_l (wint_t wc, locale_t locale) |
Checks whether a wide character is a letter or digit for the specified locale. |
iswalpha_l (wint_t wc, locale_t locale) |
Checks whether a wide character is alphabetic for the specified locale. |
iswblank_l (wint_t wc, locale_t locale) |
Checks whether a wide character is a blank or \t character for the specified locale. |
iswcntrl_l (wint_t wc, locale_t locale) |
Checks whether a wide character is a control character for the specified locale. |
iswdigit_l (wint_t wc, locale_t locale) |
Checks whether a wide character is a decimal digit for the specified locale. |
iswgraph_l (wint_t wc, locale_t locale) |
Checks whether a wide character is visible for the specified locale. |
iswlower_l (wint_t wc, locale_t locale) |
Checks whether a wide character is in lowercase for the specified locale. |
iswprint_l (wint_t wc, locale_t locale) |
Checks whether a wide character is printable for the specified locale. |
iswpunct_l (wint_t wc, locale_t locale) |
Checks whether wc is a punctuation wide character for the specified locale. |
iswspace (wint_t wc) |
Checks whether a wide character belongs to the wide-character class space. |
iswspace_l (wint_t wc, locale_t locale) |
Checks whether a wide character belongs to the wide-character class space for the specified locale. |
iswupper_l (wint_t wc, locale_t locale) |
Checks whether a wide character is in uppercase for the specified locale. |
iswxdigit_l (wint_t wc, locale_t locale) |
Checks whether a wide character is a hexadecimal digit for the specified locale. |
iswctype_l (wint_t wc, wctype_t desc, locale_t locale) |
Checks whether the character specified by wc belongs to the desc class for the specified locale. |
towlower_l (wint_t wc, locale_t locale) |
Converts an uppercase wide character to lowercase for the specified locale. |
towupper_l (wint_t wc, locale_t locale) |
Converts a lowercase wide character to uppercase for the specified locale. |
towctrans_l (wint_t wc, wctype_t desc, locale_t locale) |
Translates the type of a wide character based on the translation mapping relationship for the specified locale. |
wctrans_l (const char name, locale_t locale) |
Determines a mapping which can map a wide character to another wide character. |
wctype_l (const char name, locale_t locale) |
Checks whether a wide character type exists for the specified locale. |