source:
trunk/sys/dietlibc/wcscmp.c
@
164
Last change on this file since 164 was 1, checked in by , 7 years ago | |
---|---|
File size: 222 bytes |
Line | |
---|---|
1 | #include <wchar.h> |
2 | |
3 | int wcscmp(const wchar_t* a,const wchar_t* b) { |
4 | while (*a && *a == *b) |
5 | a++, b++; |
6 | return (*a - *b); |
7 | } |
8 | |
9 | int wcscoll(const wchar_t *s,const wchar_t* t) __attribute__((weak,alias("wcscmp"))); |
Note: See TracBrowser
for help on using the repository browser.