diff options
Diffstat (limited to 'system/include/xlocale.h')
-rw-r--r-- | system/include/xlocale.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/system/include/xlocale.h b/system/include/xlocale.h new file mode 100644 index 00000000..1162f9b0 --- /dev/null +++ b/system/include/xlocale.h @@ -0,0 +1,39 @@ + +#ifndef _XLOCALE_H_ +#define _XLOCALE_H_ + +#include <string.h> +#include <locale.h> + +long long strtoll_l(const char *start, char **end, int base, locale_t loc); +unsigned long long strtoull_l(const char *start, char **end, int base, locale_t loc); +double strtold_l(const char *start, char **end, locale_t loc); + +int strcoll_l(const char *s1, const char *s2, locale_t locale); +int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t locale); + +size_t strxfrm_l(char *s1, const char *s2, size_t n, locale_t locale); +size_t wcsxfrm_l(wchar_t *ws1, const wchar_t *ws2, size_t n, locale_t locale); + +int isxdigit_l(int c, locale_t locale); +int isdigit_l(int c, locale_t locale); +int toupper_l(int c, locale_t locale); +int tolower_l(int c, locale_t locale); + +int iswspace_l(wint_t wc, locale_t locale); +int iswupper_l(wint_t wc, locale_t locale); +int iswlower_l(wint_t wc, locale_t locale); +int iswprint_l(wint_t wc, locale_t locale); +int iswcntrl_l(wint_t wc, locale_t locale); +int iswalpha_l(wint_t wc, locale_t locale); +int iswdigit_l(wint_t wc, locale_t locale); +int iswpunct_l(wint_t wc, locale_t locale); +int iswblank_l(wint_t wc, locale_t locale); +int iswxdigit_l(wint_t wc, locale_t locale); +int towupper_l(wint_t wc, locale_t locale); +int towlower_l(wint_t wc, locale_t locale); + +size_t strftime_l(char *s, size_t maxsize, const char *format, const struct tm *timeptr, locale_t locale); + +#endif /* _LOCALE_H_ */ + |