source:
trunk/sys/dietlibc/wcscmp.c
@
383
| Last change on this file since 383 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 222 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 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.
