11 #define __NEED_wctype_t
13 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
14 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
15 #define __NEED_locale_t
18 #include <bits/alltypes.h>
20 typedef const int * wctrans_t;
23 #define WEOF 0xffffffffU
38 int iswxdigit(wint_t);
39 int iswctype(wint_t, wctype_t);
40 wint_t towctrans(wint_t, wctrans_t);
41 wint_t towlower(wint_t);
42 wint_t towupper(wint_t);
43 wctrans_t wctrans(const char *);
44 wctype_t wctype(const char *);
48 #define iswdigit(a) (0 ? iswdigit(a) : ((unsigned)(a)-'0') < 10)
51 #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
52 || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
54 int iswalnum_l(wint_t, locale_t
);
55 int iswalpha_l(wint_t, locale_t
);
56 int iswblank_l(wint_t, locale_t
);
57 int iswcntrl_l(wint_t, locale_t
);
58 int iswdigit_l(wint_t, locale_t
);
59 int iswgraph_l(wint_t, locale_t
);
60 int iswlower_l(wint_t, locale_t
);
61 int iswprint_l(wint_t, locale_t
);
62 int iswpunct_l(wint_t, locale_t
);
63 int iswspace_l(wint_t, locale_t
);
64 int iswupper_l(wint_t, locale_t
);
65 int iswxdigit_l(wint_t, locale_t
);
66 int iswctype_l(wint_t, wctype_t, locale_t
);
67 wint_t towlower_l(wint_t, locale_t
);
68 wint_t towupper_l(wint_t, locale_t
);
69 wint_t towctrans_l(wint_t, wctrans_t, locale_t
);
70 wctrans_t wctrans_l(const char *, locale_t
);
71 wctype_t wctype_l(const char *, locale_t
);