mailing list of musl libc
 help / color / mirror / code / Atom feed
2b3558bf72f698e478ab05a9ae92ebfb7ef637f2 blob 173 bytes (raw)

1
2
3
4
5
6
7
 
#include <wchar.h>

int wcsncmp(const wchar_t *l, const wchar_t *r, size_t n)
{
	for (; n && *l==*r && *l && *r; n--, l++, r++);
	return n ? (*l < *r ? -1 : *l > *r) : 0;
}
debug log:

solving 2b3558bf ...
found 2b3558bf in https://git.vuxu.org/mirror/musl/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).