aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-16 20:18:27 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-16 20:18:27 -0800
commit3ca8dcd08e181c9926bee6e9fed90f5fb87a0ee9 (patch)
treee0cadf881159a0c33961a0787dd9c6afa5c78096
parent2b268751a2d2fab4eac3b3626476f7330c4d6a54 (diff)
additional xlocale.h specs
-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_ */