1 // ----------------------------------------------------------------------------
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 // ----------------------------------------------------------------------------
11 #define __WCTYPE_H __WCTYPE_H
13 // TODO: Documentation
15 // ----------------------------------------------------------------------------
18 typedef wctrans_t; // TODO - personality?
19 typedef wctype_t; // TODO - personality?
20 typedef wint_t; // TODO - personality?
22 // ----------------------------------------------------------------------------
25 int iswalnum( wint_t c );
26 int iswalpha( wint_t c );
27 int iswblank( wint_t c );
28 int iswcntrl( wint_t c );
29 int iswctype( wint_t c, wctype_t category );
30 int iswdigit( wint_t c );
31 int iswgraph( wint_t c );
32 int iswlower( wint_t c );
33 int iswprint( wint_t c );
34 int iswpunct( wint_t c );
35 int iswspace( wint_t c );
36 int iswupper( wint_t c );
37 int iswxdigit( wint_t c );
39 wint_t towctrans( wint_t c, wctrans_t category );
40 wint_t towlower( wint_t c );
41 wint_t towupper( wint_t c );
43 wctrans_t wctrans( const char * property );
44 wctype_t wctype( const char * property );