5 #include <sys/_types.h>
10 #if __POSIX_VISIBLE >= 200809
11 #include <sys/_locale.h>
15 # define WEOF ((wint_t)-1)
27 typedef int wctrans_t;
30 int iswalpha (wint_t);
31 int iswalnum (wint_t);
32 #if __ISO_C_VISIBLE >= 1999
33 int iswblank (wint_t);
35 int iswcntrl (wint_t);
36 int iswctype (wint_t, wctype_t);
37 int iswdigit (wint_t);
38 int iswgraph (wint_t);
39 int iswlower (wint_t);
40 int iswprint (wint_t);
41 int iswpunct (wint_t);
42 int iswspace (wint_t);
43 int iswupper (wint_t);
44 int iswxdigit (wint_t);
45 wint_t towctrans (wint_t, wctrans_t);
46 wint_t towupper (wint_t);
47 wint_t towlower (wint_t);
48 wctrans_t wctrans (const char *);
49 wctype_t wctype (const char *);
51 #if __POSIX_VISIBLE >= 200809
52 extern int iswalpha_l (wint_t, locale_t
);
53 extern int iswalnum_l (wint_t, locale_t
);
54 extern int iswblank_l (wint_t, locale_t
);
55 extern int iswcntrl_l (wint_t, locale_t
);
56 extern int iswctype_l (wint_t, wctype_t, locale_t
);
57 extern int iswdigit_l (wint_t, locale_t
);
58 extern int iswgraph_l (wint_t, locale_t
);
59 extern int iswlower_l (wint_t, locale_t
);
60 extern int iswprint_l (wint_t, locale_t
);
61 extern int iswpunct_l (wint_t, locale_t
);
62 extern int iswspace_l (wint_t, locale_t
);
63 extern int iswupper_l (wint_t, locale_t
);
64 extern int iswxdigit_l (wint_t, locale_t
);
65 extern wint_t towctrans_l (wint_t, wctrans_t, locale_t
);
66 extern wint_t towupper_l (wint_t, locale_t
);
67 extern wint_t towlower_l (wint_t, locale_t
);
68 extern wctrans_t wctrans_l (const char *, locale_t
);
69 extern wctype_t wctype_l (const char *, locale_t
);
74 #endif /* _WCTYPE_H_ */