wcscoll.c raw

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