The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
Loading...
Searching...
No Matches
wctype.h
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* @file wctype.h
5
* @brief the classes of wide characters (Unicode code points).
6
*
7
* the ASCII characters are as in <ctype.h>. above ASCII, ginnOS knows the
8
* letters (and their case) of Latin-1, Latin Extended-A and B, Greek and
9
* Cyrillic, and the letters of the large scripts (CJK, kana, Hangul)
10
* without case; the other characters from U+00A0 are printable
11
* punctuation. this is enough for regular expressions and terminals.
12
*/
13
14
#include <
wchar.h
>
15
16
typedef
int
wctype_t
;
// a class: 0 is none
17
typedef
int
wctrans_t
;
// 1 tolower, 2 toupper, 0 none
18
19
int
iswalnum
(
wint_t
wc);
20
int
iswalpha
(
wint_t
wc);
21
int
iswblank
(
wint_t
wc);
22
int
iswcntrl
(
wint_t
wc);
23
int
iswdigit
(
wint_t
wc);
24
int
iswgraph
(
wint_t
wc);
25
int
iswlower
(
wint_t
wc);
26
int
iswprint
(
wint_t
wc);
27
int
iswpunct
(
wint_t
wc);
28
int
iswspace
(
wint_t
wc);
29
int
iswupper
(
wint_t
wc);
30
int
iswxdigit
(
wint_t
wc);
31
wint_t
towlower
(
wint_t
wc);
32
wint_t
towupper
(
wint_t
wc);
33
34
/** a class by name ("alpha", "digit", ...), or 0 */
35
wctype_t
wctype
(
const
char
*name);
36
int
iswctype
(
wint_t
wc,
wctype_t
type);
37
/** a mapping by name ("tolower", "toupper"), or 0 */
38
wctrans_t
wctrans
(
const
char
*name);
39
wint_t
towctrans
(
wint_t
wc,
wctrans_t
trans);
wchar.h
wide characters.
wint_t
unsigned int wint_t
Definition
wchar.h:12
iswgraph
int iswgraph(wint_t wc)
iswcntrl
int iswcntrl(wint_t wc)
iswprint
int iswprint(wint_t wc)
iswxdigit
int iswxdigit(wint_t wc)
wctrans_t
int wctrans_t
Definition
wctype.h:17
iswalpha
int iswalpha(wint_t wc)
towctrans
wint_t towctrans(wint_t wc, wctrans_t trans)
iswctype
int iswctype(wint_t wc, wctype_t type)
iswlower
int iswlower(wint_t wc)
iswblank
int iswblank(wint_t wc)
iswdigit
int iswdigit(wint_t wc)
wctrans
wctrans_t wctrans(const char *name)
a mapping by name ("tolower", "toupper"), or 0
towupper
wint_t towupper(wint_t wc)
towlower
wint_t towlower(wint_t wc)
wctype_t
int wctype_t
Definition
wctype.h:16
iswpunct
int iswpunct(wint_t wc)
iswalnum
int iswalnum(wint_t wc)
wctype
wctype_t wctype(const char *name)
a class by name ("alpha", "digit", ...), or 0
iswupper
int iswupper(wint_t wc)
iswspace
int iswspace(wint_t wc)
src
libc
include
wctype.h
Generated by
1.18.0