strcoll.c raw

   1  #include <string.h>
   2  #include <locale.h>
   3  #include "locale_impl.h"
   4  
   5  int __strcoll_l(const char *l, const char *r, locale_t loc)
   6  {
   7  	return strcmp(l, r);
   8  }
   9  
  10  int strcoll(const char *l, const char *r)
  11  {
  12  	return __strcoll_l(l, r, CURRENT_LOCALE);
  13  }
  14  
  15  weak_alias(__strcoll_l, strcoll_l);
  16