summaryrefslogtreecommitdiff
path: root/src/locale/strcoll.c
blob: 8b84b1e63d2971ed1f809a4161fc6da204cc2e80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <string.h>
#include <locale.h>
#include "libc.h"

int __strcoll_l(const char *l, const char *r, locale_t loc)
{
	return strcmp(l, r);
}

int strcoll(const char *l, const char *r)
{
	return __strcoll_l(l, r, LC_GLOBAL_LOCALE);
}

weak_alias(__strcoll_l, strcoll_l);