summaryrefslogtreecommitdiff
path: root/src/wchar/wmemcmp.c
blob: 97be69fe72a66ed0ccb26556b8afa60e858cb653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#if 0

#include <wchar.h>

int wmemcmp(const wchar_t * s1, const wchar_t * s2, size_t n)
{
	size_t i;

	for (i = 0; i < n; i++) {
		if (s1[i] > s2[i]) {
			return 1;
		} else if (s1[i] < s2[i]) {
			return -1;
		}
	}

	return 0;
}

/*
STDC(199409)
*/


#endif