16 #ifndef _LIBCPP_SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
17 #define _LIBCPP_SUPPORT_XLOCALE_POSIX_L_FALLBACK_H
23 inline _LIBCPP_INLINE_VISIBILITY
int isalnum_l(
int c,
locale_t) {
27 inline _LIBCPP_INLINE_VISIBILITY
int isalpha_l(
int c,
locale_t) {
31 inline _LIBCPP_INLINE_VISIBILITY
int isblank_l(
int c,
locale_t) {
35 inline _LIBCPP_INLINE_VISIBILITY
int iscntrl_l(
int c,
locale_t) {
39 inline _LIBCPP_INLINE_VISIBILITY
int isdigit_l(
int c,
locale_t) {
43 inline _LIBCPP_INLINE_VISIBILITY
int isgraph_l(
int c,
locale_t) {
47 inline _LIBCPP_INLINE_VISIBILITY
int islower_l(
int c,
locale_t) {
51 inline _LIBCPP_INLINE_VISIBILITY
int isprint_l(
int c,
locale_t) {
55 inline _LIBCPP_INLINE_VISIBILITY
int ispunct_l(
int c,
locale_t) {
59 inline _LIBCPP_INLINE_VISIBILITY
int isspace_l(
int c,
locale_t) {
63 inline _LIBCPP_INLINE_VISIBILITY
int isupper_l(
int c,
locale_t) {
67 inline _LIBCPP_INLINE_VISIBILITY
int isxdigit_l(
int c,
locale_t) {
71 inline _LIBCPP_INLINE_VISIBILITY
int iswalnum_l(wint_t c,
locale_t) {
75 inline _LIBCPP_INLINE_VISIBILITY
int iswalpha_l(wint_t c,
locale_t) {
79 inline _LIBCPP_INLINE_VISIBILITY
int iswblank_l(wint_t c,
locale_t) {
83 inline _LIBCPP_INLINE_VISIBILITY
int iswcntrl_l(wint_t c,
locale_t) {
87 inline _LIBCPP_INLINE_VISIBILITY
int iswdigit_l(wint_t c,
locale_t) {
91 inline _LIBCPP_INLINE_VISIBILITY
int iswgraph_l(wint_t c,
locale_t) {
95 inline _LIBCPP_INLINE_VISIBILITY
int iswlower_l(wint_t c,
locale_t) {
99 inline _LIBCPP_INLINE_VISIBILITY
int iswprint_l(wint_t c,
locale_t) {
100 return ::iswprint(c);
103 inline _LIBCPP_INLINE_VISIBILITY
int iswpunct_l(wint_t c,
locale_t) {
104 return ::iswpunct(c);
107 inline _LIBCPP_INLINE_VISIBILITY
int iswspace_l(wint_t c,
locale_t) {
108 return ::iswspace(c);
111 inline _LIBCPP_INLINE_VISIBILITY
int iswupper_l(wint_t c,
locale_t) {
112 return ::iswupper(c);
115 inline _LIBCPP_INLINE_VISIBILITY
int iswxdigit_l(wint_t c,
locale_t) {
116 return ::iswxdigit(c);
119 inline _LIBCPP_INLINE_VISIBILITY
int toupper_l(
int c,
locale_t) {
123 inline _LIBCPP_INLINE_VISIBILITY
int tolower_l(
int c,
locale_t) {
127 inline _LIBCPP_INLINE_VISIBILITY wint_t towupper_l(wint_t c,
locale_t) {
128 return ::towupper(c);
131 inline _LIBCPP_INLINE_VISIBILITY wint_t towlower_l(wint_t c,
locale_t) {
132 return ::towlower(c);
135 inline _LIBCPP_INLINE_VISIBILITY
int strcoll_l(
const char *s1,
const char *s2,
137 return ::strcoll(s1, s2);
140 inline _LIBCPP_INLINE_VISIBILITY
size_t strxfrm_l(
char *dest,
const char *src,
142 return ::strxfrm(dest, src, n);
145 inline _LIBCPP_INLINE_VISIBILITY
size_t strftime_l(
char *s,
size_t max,
148 return ::strftime(s, max, format, tm);
151 inline _LIBCPP_INLINE_VISIBILITY
int wcscoll_l(
const wchar_t *ws1,
153 return ::wcscoll(ws1, ws2);
156 inline _LIBCPP_INLINE_VISIBILITY
size_t wcsxfrm_l(
wchar_t *dest,
const wchar_t *src,
158 return ::wcsxfrm(dest, src, n);
165 #endif // _LIBCPP_SUPPORT_XLOCALE_POSIX_L_FALLBACK_H