Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
wctype.h
Go to the documentation of this file.
1 #ifndef WCTYPE_H__
2 #define WCTYPE_H__
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 #include <_types/_wchar_t.h>
9 
10 typedef const int* wctrans_t;
11 typedef unsigned wint_t;
12 typedef unsigned long wctype_t;
13 
14 #undef WEOF
15 #define WEOF 0xffffffffU
16 
17 #define WCTYPE_ALNUM 1
18 #define WCTYPE_ALPHA 2
19 #define WCTYPE_BLANK 3
20 #define WCTYPE_CNTRL 4
21 #define WCTYPE_DIGIT 5
22 #define WCTYPE_GRAPH 6
23 #define WCTYPE_LOWER 7
24 #define WCTYPE_PRINT 8
25 #define WCTYPE_PUNCT 9
26 #define WCTYPE_SPACE 10
27 #define WCTYPE_UPPER 11
28 #define WCTYPE_XDIGIT 12
29 
30 int iswalnum(wint_t);
31 int iswalpha(wint_t);
32 int iswblank(wint_t);
33 int iswcntrl(wint_t);
35 int iswdigit(wint_t);
36 int iswgraph(wint_t);
37 int iswlower(wint_t);
38 int iswprint(wint_t);
39 int iswpunct(wint_t);
40 int iswspace(wint_t);
41 int iswupper(wint_t);
42 int iswxdigit(wint_t);
43 
47 wctrans_t wctrans(const char*);
48 wctype_t wctype(const char*);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif // WCTYPE_H__
int iswpunct(wint_t)
Definition: iswpunct.c:7
wint_t towlower(wint_t)
Definition: towlower.c:4
unsigned wint_t
Definition: wctype.h:11
wint_t towctrans(wint_t, wctrans_t)
Definition: towctrans.c:4
int iswdigit(wint_t)
Definition: iswdigit.c:3
int iswprint(wint_t)
Definition: iswprint.c:10
wint_t towupper(wint_t)
Definition: towupper.c:4
int iswxdigit(wint_t)
Definition: iswxdigit.c:3
int iswgraph(wint_t)
Definition: iswgraph.c:3
int iswupper(wint_t)
Definition: iswupper.c:3
int iswalnum(wint_t)
Definition: iswalnum.c:3
int iswcntrl(wint_t)
Definition: iswcntrl.c:3
wctype_t wctype(const char *)
Definition: wctype.c:4
int iswblank(wint_t)
Definition: iswblank.c:4
wctrans_t wctrans(const char *)
Definition: wctrans.c:4
const int * wctrans_t
Definition: wctype.h:10
int iswctype(wint_t, wctype_t)
Definition: iswctype.c:4
int iswlower(wint_t)
Definition: iswlower.c:3
int iswspace(wint_t)
Definition: iswspace.c:8
unsigned long wctype_t
Definition: wctype.h:12
int iswalpha(wint_t)
Definition: iswalpha.c:7