Namespaces
Variants
Views
Actions

Standard library header <wctype.h> (C95)

From cppreference.com
< c‎ | header

This header is part of wide character classification and mapping utilities library.

Contents

[edit] Functions

Character classification
checks if a wide character is alphanumeric
(function) [edit]
checks if a wide character is alphabetic
(function) [edit]
checks if a wide character is an lowercase character
(function) [edit]
checks if a wide character is an uppercase character
(function) [edit]
checks if a wide character is a digit
(function) [edit]
checks if a wide character is a hexadecimal character
(function) [edit]
checks if a wide character is a control character
(function) [edit]
checks if a wide character is a graphical character
(function) [edit]
checks if a wide character is a space character
(function) [edit]
checks if a wide character is a blank character
(function) [edit]
checks if a wide character is a printing character
(function) [edit]
checks if a wide character is a punctuation character
(function) [edit]
classifies a wide character according to the specified LC_CTYPE category
(function) [edit]
(C95)
looks up a character classification category in the current C locale
(function) [edit]
Character manipulation
converts a wide character to lowercase
(function) [edit]
converts a wide character to uppercase
(function) [edit]
performs character mapping according to the specified LC_CTYPE mapping category
(function) [edit]
looks up a character mapping category in the current C locale
(function) [edit]

[edit] 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)

[edit] Macros

WEOF
(C95)
a non-character value of type wint_t used to indicate errors
(macro constant)

[edit] 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);