Standard library header <wctype.h> (C95)
From cppreference.com
This header is part of wide character classification and mapping utilities library.
Functions
Character classification | |
(C95) |
checks if a wide character is alphanumeric (function) |
(C95) |
checks if a wide character is alphabetic (function) |
(C95) |
checks if a wide character is an lowercase character (function) |
(C95) |
checks if a wide character is an uppercase character (function) |
(C95) |
checks if a wide character is a digit (function) |
(C95) |
checks if a wide character is a hexadecimal character (function) |
(C95) |
checks if a wide character is a control character (function) |
(C95) |
checks if a wide character is a graphical character (function) |
(C95) |
checks if a wide character is a space character (function) |
(C99) |
checks if a wide character is a blank character (function) |
(C95) |
checks if a wide character is a printing character (function) |
(C95) |
checks if a wide character is a punctuation character (function) |
(C95) |
classifies a wide character according to the specified LC_CTYPE category (function) |
(C95) |
looks up a character classification category in the current C locale (function) |
Character manipulation | |
(C95) |
converts a wide character to lowercase (function) |
(C95) |
converts a wide character to uppercase (function) |
(C95) |
performs character mapping according to the specified LC_CTYPE mapping category (function) |
(C95) |
looks up a character mapping category in the current C locale (function) |
Types
wint_t (C95) |
integer type that can hold any valid wide character and at least one more value (typedef) |
wctrans_t (C95) |
scalar type that holds locale-specific character mapping (typedef) |
wctype_t (C95) |
scalar type that holds locale-specific character classification (typedef) |
Macros
WEOF (C95) |
a non-character value of type wint_t used to indicate errors (macro constant) |
Synopsis
typedef /* see description */ wctrans_t;
typedef /* see description */ wctype_t;
typedef /* see description */ wint_t;
#define WEOF /* see description */
int iswalnum(wint_t wc);
int iswalpha(wint_t wc);
int iswblank(wint_t wc);
int iswcntrl(wint_t wc);
int iswdigit(wint_t wc);
int iswgraph(wint_t wc);
int iswlower(wint_t wc);
int iswprint(wint_t wc);
int iswpunct(wint_t wc);
int iswspace(wint_t wc);
int iswupper(wint_t wc);
int iswxdigit(wint_t wc);
int iswctype(wint_t wc, wctype_t desc);
wctype_t wctype(const char* property);
wint_t towlower(wint_t wc);
wint_t towupper(wint_t wc);
wint_t towctrans(wint_t wc, wctrans_t desc);
wctrans_t wctrans(const char* property);