Index: fusl/src/locale/wcscoll.c |
diff --git a/fusl/src/locale/wcscoll.c b/fusl/src/locale/wcscoll.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..14bb8b9f9607991872e9c1861481ce8ea07df88e |
--- /dev/null |
+++ b/fusl/src/locale/wcscoll.c |
@@ -0,0 +1,17 @@ |
+#include <wchar.h> |
+#include <locale.h> |
+#include "locale_impl.h" |
+#include "libc.h" |
+ |
+/* FIXME: stub */ |
+int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) |
+{ |
+ return wcscmp(l, r); |
+} |
+ |
+int wcscoll(const wchar_t *l, const wchar_t *r) |
+{ |
+ return __wcscoll_l(l, r, CURRENT_LOCALE); |
+} |
+ |
+weak_alias(__wcscoll_l, wcscoll_l); |