aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/include/xlocale.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/system/include/xlocale.h b/system/include/xlocale.h
index f9208b76..a81665e2 100644
--- a/system/include/xlocale.h
+++ b/system/include/xlocale.h
@@ -2,15 +2,24 @@
#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);
#endif /* _LOCALE_H_ */