Revert "Revert "Add locale aware APIs.""
This reverts commit 063e20c26943ec82ef1d53a544545e79054e93d3.
Change-Id: Ib8c9004efefe75a5346b3af50dfe37952d91eb21
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index 014fed3..1898c7e 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -151,6 +151,13 @@
extern int wprintf(const wchar_t *, ...);
extern int wscanf(const wchar_t *, ...);
+extern long long wcstoll_l(const wchar_t *, wchar_t **, size_t, locale_t);
+extern unsigned long long wcstoull_l(const wchar_t *, wchar_t **, size_t, locale_t);
+extern long double wcstold_l(const wchar_t *, wchar_t **, locale_t );
+
+extern int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
+extern size_t wcsxfrm_l(wchar_t *, const wchar_t *, size_t, locale_t);
+
extern size_t wcslcat(wchar_t*, const wchar_t*, size_t);
extern size_t wcslcpy(wchar_t*, const wchar_t*, size_t);