add more of the locale_t interfaces, all dummied out to ignore the locale

This commit is contained in:
Rich Felker 2012-02-06 21:29:31 -05:00
parent 4cf667c9c9
commit e5a7f14c81
19 changed files with 113 additions and 0 deletions

View File

@ -9,6 +9,11 @@ extern "C" {
#define __NEED_wctrans_t
#define __NEED_wctype_t
#if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)
#define __NEED_locale_t
#endif
#include <bits/alltypes.h>
#undef WEOF

6
src/locale/iswalnum_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswalnum_l(wint_t c, locale_t l)
{
return iswalnum(c);
}

6
src/locale/iswalpha_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswalpha_l(wint_t c, locale_t l)
{
return iswalpha(c);
}

6
src/locale/iswblank_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswblank_l(wint_t c, locale_t l)
{
return iswblank(c);
}

6
src/locale/iswcntrl_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswcntrl_l(wint_t c, locale_t l)
{
return iswcntrl(c);
}

6
src/locale/iswctype_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswctype_l(wint_t c, wctype_t t, locale_t l)
{
return iswctype(c, t);
}

6
src/locale/iswdigit_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswdigit_l(wint_t c, locale_t l)
{
return iswdigit(c);
}

6
src/locale/iswgraph_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswgraph_l(wint_t c, locale_t l)
{
return iswgraph(c);
}

6
src/locale/iswlower_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswlower_l(wint_t c, locale_t l)
{
return iswlower(c);
}

6
src/locale/iswprint_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswprint_l(wint_t c, locale_t l)
{
return iswprint(c);
}

6
src/locale/iswpunct_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswpunct_l(wint_t c, locale_t l)
{
return iswpunct(c);
}

6
src/locale/iswspace_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswspace_l(wint_t c, locale_t l)
{
return iswspace(c);
}

6
src/locale/iswupper_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswupper_l(wint_t c, locale_t l)
{
return iswupper(c);
}

6
src/locale/iswxdigit_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t iswxdigit_l(wint_t c, locale_t l)
{
return iswxdigit(c);
}

6
src/locale/towctrans_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t towctrans_l(wint_t c, wctrans_t t, locale_t l)
{
return towctrans(c, t);
}

6
src/locale/towlower_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t towlower_l(wint_t c, locale_t l)
{
return towlower(c);
}

6
src/locale/towupper_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wint_t towupper_l(wint_t c, locale_t l)
{
return towupper(c);
}

6
src/locale/wctrans_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wctrans_t wctrans_l(const char *s, locale_t l)
{
return wctrans(s);
}

6
src/locale/wctype_l.c Normal file
View File

@ -0,0 +1,6 @@
#include <wctype.h>
wctype_t wctype_l(const char *s, locale_t l)
{
return wctype(s);
}