The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
wctype.h File Reference

the classes of wide characters (Unicode code points). More...

#include <wchar.h>

Go to the source code of this file.

Typedefs

typedef int wctype_t
typedef int wctrans_t

Functions

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)
wint_t towlower (wint_t wc)
wint_t towupper (wint_t wc)
wctype_t wctype (const char *name)
 a class by name ("alpha", "digit", ...), or 0
int iswctype (wint_t wc, wctype_t type)
wctrans_t wctrans (const char *name)
 a mapping by name ("tolower", "toupper"), or 0
wint_t towctrans (wint_t wc, wctrans_t trans)

Detailed Description

the classes of wide characters (Unicode code points).

the ASCII characters are as in <ctype.h>. above ASCII, ginnOS knows the letters (and their case) of Latin-1, Latin Extended-A and B, Greek and Cyrillic, and the letters of the large scripts (CJK, kana, Hangul) without case; the other characters from U+00A0 are printable punctuation. this is enough for regular expressions and terminals.

Typedef Documentation

◆ wctype_t

typedef int wctype_t

◆ wctrans_t

typedef int wctrans_t

Function Documentation

◆ iswalnum()

int iswalnum ( wint_t wc)

◆ iswalpha()

int iswalpha ( wint_t wc)

◆ iswblank()

int iswblank ( wint_t wc)

◆ iswcntrl()

int iswcntrl ( wint_t wc)

◆ iswdigit()

int iswdigit ( wint_t wc)

◆ iswgraph()

int iswgraph ( wint_t wc)

◆ iswlower()

int iswlower ( wint_t wc)

◆ iswprint()

int iswprint ( wint_t wc)

◆ iswpunct()

int iswpunct ( wint_t wc)

◆ iswspace()

int iswspace ( wint_t wc)

◆ iswupper()

int iswupper ( wint_t wc)

◆ iswxdigit()

int iswxdigit ( wint_t wc)

◆ towlower()

wint_t towlower ( wint_t wc)

◆ towupper()

wint_t towupper ( wint_t wc)

◆ wctype()

wctype_t wctype ( const char * name)

a class by name ("alpha", "digit", ...), or 0

◆ iswctype()

int iswctype ( wint_t wc,
wctype_t type )

◆ wctrans()

wctrans_t wctrans ( const char * name)

a mapping by name ("tolower", "toupper"), or 0

◆ towctrans()

wint_t towctrans ( wint_t wc,
wctrans_t trans )