aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/locale/wcscoll.c
blob: 20a60900e038658260ff91cecd615afa2b30ea8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <wchar.h>
#include <locale.h>
#include "libc.h"

/* FIXME: stub */
int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
{
	return wcscmp(l, r);
}

int wcscoll(const wchar_t *l, const wchar_t *r)
{
	return __wcscoll_l(l, r, 0);
}

weak_alias(__wcscoll_l, wcscoll_l);