X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Fwctype.h;h=abc7d36ffd79ba755048903f90c0f8336ca8180b;hp=ee5be7c650fbc4ffc410f1beaa2dfec19382e6a1;hb=1ab59de81e94e7802f85d314a709f8350a0e9b65;hpb=e5a7f14c818a622ea7fbbc981657eb0c47ce3c00 diff --git a/include/wctype.h b/include/wctype.h index ee5be7c6..abc7d36f 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -5,6 +5,8 @@ extern "C" { #endif +#include + #define __NEED_wint_t #define __NEED_wctrans_t #define __NEED_wctype_t @@ -43,6 +45,30 @@ wctype_t wctype(const char *); #undef iswdigit #define iswdigit(a) (((unsigned)(a)-L'0') < 10) +#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \ + || defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) + +int iswalnum_l(wint_t, locale_t); +int iswalpha_l(wint_t, locale_t); +int iswblank_l(wint_t, locale_t); +int iswcntrl_l(wint_t, locale_t); +int iswdigit_l(wint_t, locale_t); +int iswgraph_l(wint_t, locale_t); +int iswlower_l(wint_t, locale_t); +int iswprint_l(wint_t, locale_t); +int iswpunct_l(wint_t, locale_t); +int iswspace_l(wint_t, locale_t); +int iswupper_l(wint_t, locale_t); +int iswxdigit_l(wint_t, locale_t); +int iswctype_l(wint_t, wctype_t, locale_t); +wint_t towlower_l(wint_t, locale_t); +wint_t towupper_l(wint_t, locale_t); +wint_t towctrans_l(wint_t, wctrans_t, locale_t); +wctrans_t wctrans_l(const char *, locale_t); +wctype_t wctype_l(const char *, locale_t); + +#endif + #ifdef __cplusplus } #endif