man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: July 2014
 
 

wctype(3HEAD)

Name

wctype.h, wctype - wide-character classification and mapping utilities

Synopsis

#include <wctype.h>

Description

The <wctype.h> header defines the following types:

wint_t

As described in <wchar.h>.

wctrans_t

A scalar type that can hold values that represent locale-specific character mappings.

wctype_t

As described in <wchar.h>.

The <wctype.h> header defines the following macro name:

WEOF

Constant expression of type wint_t that is returned by several MSE functions to indicate end-of-file.

For all functions described in this header that accept an argument of type wint_t, the value is representable as a wchar _t or equals the value of WEOF. If this argument has any other value, the behavior is undefined.

The behavior of these functions is affected by the LC_CTYPE category of the current locale.

Inclusion of the <wctype.h> header can make visible all symbols from the headers <ctype.h>, <stdarg.h>, <stddef.h>, <stdio.h>, <stdlib.h>, < string.h>, <time.h>, and <wchar.h>.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See also

iswalpha(3C), iswctype(3C) , locale.h(3HEAD), setlocale(3C), stdarg(3EXT), stddef.h(3HEAD), stdio.h(3HEAD), stdlib.h(3HEAD), string.h(3HEAD), time.h(3HEAD), towctrans(3C), towlower (3C), towupper(3C), wctrans (3C), wctype(3C), attributes (5), standards(5)