The C has a number of functions that can be used to classify and transform individual wide characters. These functions are available to use in a current program after including the header file using - #include <wctype.h>. This header is part of the null-terminated wide strings library. All functions of this header file are listed below:
Note: The library <wctype.h> was a part of extension for the ANSI-C standard, published in 1995 also known as C95.
Functions | Description |
iswalnum() |
Check if wide character is alphanumeric. |
iswalpha() |
Check if wide character is alphabetic. |
iswblank() (C99) |
Check if wide character is blank. |
iswcntrl() |
Check if wide character is a control character. |
iswdigit() |
Check if wide character is decimal digit. |
iswgraph() |
Check if wide character has graphical representation. |
iswlower() |
Check if wide character is lowercase letter. |
iswprint() |
Check if wide character is printable. |
iswpunct() |
Check if wide character is a punctuation character. |
iswspace() |
Check if wide character is a whitespace. |
iswupper() |
Check if wide character is uppercase letter. |
iswxdigit() |
Check if character is wide hexadecimal digit. |
Functions | Description |
towlower() |
Convert uppercase wide character to lowercase. |
towupper() |
Convert lowercase wide character to uppercase. |
Functions | Description |
iswctype() |
Check if wide character has property. |
towctrans() |
Convert using transformation. |
wctrans() |
Return character transformation. |
wctype() |
Return character property. |
Constants | Description |
wctrans_t |
Wide character transformation. |
wctype_t |
Wide character type. |
wint_t |
Wide character integer type. |
Macros | Description |
WEOF |
Wide End-of-File. |