wcscoll.c 306 B

12345678910111213141516
  1. #include <wchar.h>
  2. #include <locale.h>
  3. #include "libc.h"
  4. /* FIXME: stub */
  5. int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
  6. {
  7. return wcscmp(l, r);
  8. }
  9. int wcscoll(const wchar_t *l, const wchar_t *r)
  10. {
  11. return __wcscoll_l(l, r, LC_GLOBAL_LOCALE);
  12. }
  13. weak_alias(__wcscoll_l, wcscoll_l);