1 #include <wchar.h> 2 #include <locale.h> 3 #include "libc.h" 4 5 /* FIXME: stub */ 6 // ANDROID: was __wcscoll_l in Musl 7 int wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) 8 { 9 return wcscmp(l, r); 10 } 11 12 int wcscoll(const wchar_t *l, const wchar_t *r) 13 { 14 return wcscoll_l(l, r, 0); 15 } 16 17 weak_alias(__wcscoll_l, wcscoll_l); 18