DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

wctype.h(M)


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

wctype- wide-character classification and mapping utilities

Syntax

#include <wctype.h>

Description

The wctype.h header defines the following data types:

wint_t
As described in wchar.h(M).

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

wctype_t
As described in wchar.h(M).

The wctype.h header declares the following as functions and may also define them as macros. Function prototypes must be provided for use with an ISO C compiler.

   int       iswalnum(wint_t);
   int       iswalpha(wint_t);
   int       iswcntrl(wint_t);
   int       iswdigit(wint_t);
   int       iswgraph(wint_t);
   int       iswlower(wint_t);
   int       iswprint(wint_t);
   int       iswpunct(wint_t);
   int       iswspace(wint_t);
   int       iswupper(wint_t);
   int       iswxdigit(wint_t);
   int       iswctype(wint_t, wctype_t);
   wint_t    towctrans(wint_t, wctrans_t);
   wint_t    towlower(wint_t);
   wint_t    towupper(wint_t);
   wctrans_t wctrans(const char *);
   wctype_t  wctype(const char *);

wctype.h defines the following macro name:


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

For all functions described in this header that accept an argument of type wint_t, the value will be representable as a wchar_t or will equal the value of WEOF.

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

See also

iswalnum(S), iswalpha(S), iswcntrl(S), iswctype(S), iswdigit(S), iswgraph(S), iswlower(S), iswprint(S), iswpunct(S), iswspace(S), iswupper(S), iswxdigit(S), setlocale(S), towlower(S), towupper(S), wctype(S), wchar.h(M)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003