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
18 /* TODO: Documentation */
20 /* ----------------------------------------------------------------------------
22 * --------------------------------------------------------------------------*/
25 #define _WINT_T _WINT_T
26 typedef __wint_t wint_t
29 typedef wctrans_t; /* TODO - to __intern.h / __personality.h? */
30 typedef wctype_t; /* TODO - to __intern.h / __personality.h? */
32 /* ----------------------------------------------------------------------------
34 * --------------------------------------------------------------------------*/
36 int iswalnum( wint_t c );
37 int iswalpha( wint_t c );
38 int iswblank( wint_t c );
39 int iswcntrl( wint_t c );
40 int iswctype( wint_t c, wctype_t category );
41 int iswdigit( wint_t c );
42 int iswgraph( wint_t c );
43 int iswlower( wint_t c );
44 int iswprint( wint_t c );
45 int iswpunct( wint_t c );
46 int iswspace( wint_t c );
47 int iswupper( wint_t c );
48 int iswxdigit( wint_t c );
50 wint_t towctrans( wint_t c, wctrans_t category );
51 wint_t towlower( wint_t c );
52 wint_t towupper( wint_t c );
54 wctrans_t wctrans( const char * property );
55 wctype_t wctype( const char * property );
57 #endif /* _WCTYPE_H */