1#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42
2type wint_t
3type wctrans_t
4type wctype_t
5# if defined XOPEN2K8 || defined POSIX2008
6type locale_t
7# endif
8
9function int iswalnum (wint_t)
10function int iswalpha (wint_t)
11# ifndef UNIX98
12function int iswblank (wint_t)
13# endif
14function int iswcntrl (wint_t)
15function int iswdigit (wint_t)
16function int iswgraph (wint_t)
17function int iswlower (wint_t)
18function int iswprint (wint_t)
19function int iswpunct (wint_t)
20function int iswspace (wint_t)
21function int iswupper (wint_t)
22function int iswxdigit (wint_t)
23function int iswctype (wint_t, wctype_t)
24function wint_t towctrans (wint_t, wctrans_t)
25function wint_t towlower (wint_t)
26function wint_t towupper (wint_t)
27function wctrans_t wctrans (const char*)
28function wctype_t wctype (const char*)
29# if defined XOPEN2K8 || defined POSIX2008
30function int iswalnum_l (wint_t, locale_t)
31function int iswalpha_l (wint_t, locale_t)
32function int iswblank_l (wint_t, locale_t)
33function int iswcntrl_l (wint_t, locale_t)
34function int iswdigit_l (wint_t, locale_t)
35function int iswgraph_l (wint_t, locale_t)
36function int iswlower_l (wint_t, locale_t)
37function int iswprint_l (wint_t, locale_t)
38function int iswpunct_l (wint_t, locale_t)
39function int iswspace_l (wint_t, locale_t)
40function int iswupper_l (wint_t, locale_t)
41function int iswxdigit_l (wint_t, locale_t)
42function int iswctype_l (wint_t, wctype_t, locale_t)
43function wint_t towctrans_l (wint_t, wctrans_t, locale_t)
44function wint_t towlower_l (wint_t, locale_t)
45function wint_t towupper_l (wint_t, locale_t)
46function wctrans_t wctrans_l (const char*, locale_t)
47function wctype_t wctype_l (const char*, locale_t)
48# endif
49
50macro-constant WEOF {wint_t}
51
52#if !defined ISO && !defined ISO99 && !defined ISO11
53allow-header ctype.h
54allow-header stdio.h
55allow-header stdarg.h
56allow-header stdlib.h
57allow-header string.h
58allow-header stddef.h
59allow-header time.h
60allow-header wchar.h
61#endif
62
63allow is[abcdefghijklmnopqrstuvwxyz]*
64allow to[abcdefghijklmnopqrstuvwxyz]*
65#if !defined ISO && !defined ISO99 && !defined ISO11
66allow *_t
67#endif
68#endif
69