aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/string/wcscmp.c
blob: 26eeee7045612335a311f0f3770d2cdb710dcca3 (plain)
1
2
3
4
5
6
7
#include <wchar.h>

int wcscmp(const wchar_t *l, const wchar_t *r)
{
	for (; *l==*r && *l && *r; l++, r++);
	return *l - *r;
}