wcscmp.c\string\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/string/wcscmp.c
blob: 286ec3ea4028b3126722c6ebc582c3f36c0d5d6f (plain) (blame)
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 ? -1 : *l > *r;
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 09:28:22 +0000

AltStyle によって変換されたページ (->オリジナル) /