source:
EcnlProtoTool/trunk/musl-1.1.18/src/string/wmemcmp.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 142 bytes |
Rev | Line | |
---|---|---|
[444] | 1 | #include <wchar.h> |
2 | ||
3 | int wmemcmp(const wchar_t *l, const wchar_t *r, size_t n) | |
4 | { | |
5 | for (; n && *l==*r; n--, l++, r++); | |
6 | return n ? *l-*r : 0; | |
7 | } |
Note:
See TracBrowser
for help on using the repository browser.