]> pd.if.org Git - pdclib/blob - includes/wctype.h
Some cleanup.
[pdclib] / includes / wctype.h
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7 // Wide character classification and mapping utilities
8 // ----------------------------------------------------------------------------
9
10 #ifndef __WCTYPE_H
11 #define __WCTYPE_H __WCTYPE_H
12
13 // ----------------------------------------------------------------------------
14 // TYPEDEFS
15
16 typedef wctrans_t;
17 typedef wctype_t;
18 typedef wint_t;
19
20 // ----------------------------------------------------------------------------
21 // FUNCTIONS
22
23 int iswalnum( wint_t c );
24 int iswalpha( wint_t c );
25 int iswblank( wint_t c );
26 int iswcntrl( wint_t c );
27 int iswctype( wint_t c, wctype_t category );
28 int iswdigit( wint_t c );
29 int iswgraph( wint_t c );
30 int iswlower( wint_t c );
31 int iswprint( wint_t c );
32 int iswpunct( wint_t c );
33 int iswspace( wint_t c );
34 int iswupper( wint_t c );
35 int iswxdigit( wint_t c );
36
37 wint_t towctrans( wint_t c, wctrans_t category );
38 wint_t towlower( wint_t c );
39 wint_t towupper( wint_t c );
40
41 wctrans_t wctrans( const char * property );
42 wctype_t wctype( const char * property );
43
44 #endif // __WCTYPE_H