1 #include <string.h> 2 #include <locale.h> 3 #include "locale_impl.h" 4 __strcoll_l(const char * l,const char * r,locale_t loc)5int __strcoll_l(const char *l, const char *r, locale_t loc) 6 { 7 return strcmp(l, r); 8 } 9 strcoll(const char * l,const char * r)10int 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