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