summaryrefslogtreecommitdiff
path: root/include/wctype.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-02-06 21:33:40 -0500
committerRich Felker <dalias@aerifal.cx>2012-02-06 21:33:40 -0500
commitc09b6f8ab6edefba52183f8c5ecf6520a8b7ad8f (patch)
treeb6514274e5cbdfa706d8333be549c5116f3ac1b1 /include/wctype.h
parente5a7f14c818a622ea7fbbc981657eb0c47ce3c00 (diff)
downloadmusl-c09b6f8ab6edefba52183f8c5ecf6520a8b7ad8f.tar.gz
musl-c09b6f8ab6edefba52183f8c5ecf6520a8b7ad8f.tar.bz2
musl-c09b6f8ab6edefba52183f8c5ecf6520a8b7ad8f.tar.xz
musl-c09b6f8ab6edefba52183f8c5ecf6520a8b7ad8f.zip
fix some omissions and mistakes in locale_t interface definitions
Diffstat (limited to 'include/wctype.h')
-rw-r--r--include/wctype.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/wctype.h b/include/wctype.h
index ee5be7c6..f7be2cb0 100644
--- a/include/wctype.h
+++ b/include/wctype.h
@@ -43,6 +43,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