1 #include <msvcrt/wchar.h>
5 int wcsncmp(const wchar_t* cs, const wchar_t* ct, size_t count)
7 while ((*cs) == (*ct) && count > 0) {
19 int wcsncmp(const wchar_t* cs, const wchar_t* ct, size_t count)
25 //return *(unsigned const char *)cs - *(unsigned const char *)--ct;
26 return (*cs) - (*(--ct));
29 } while (--count != 0);