source: trunk/sys/dietlibc/wcscmp.c @ 1

Last change on this file since 1 was 1, checked in by alain, 5 years ago

First import

File size: 222 bytes
Line 
1#include <wchar.h>
2
3int wcscmp(const wchar_t* a,const wchar_t* b) {
4  while (*a && *a == *b)
5    a++, b++;
6  return (*a - *b);
7}
8
9int wcscoll(const wchar_t *s,const wchar_t* t)       __attribute__((weak,alias("wcscmp")));
Note: See TracBrowser for help on using the repository browser.