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

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

First import

File size: 222 bytes
RevLine 
[1]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.