1 #include <msvcrt/mbstring.h>
4 size_t _mbclen2(const unsigned int s);
5 unsigned int _mbbtoupper(unsigned int c);
8 int _mbsnicmp(const unsigned char *s1, const unsigned char *s2, size_t n)
13 if (_mbbtoupper(*s1) != _mbbtoupper(*s2))
14 return _mbbtoupper(*(unsigned const char *)s1) - _mbbtoupper(*(unsigned const char *)s2);
26 int _mbsnbicmp(const unsigned char *s1, const unsigned char *s2, size_t n)
31 if (_mbbtoupper(*s1) != _mbbtoupper(*s2))
32 return _mbbtoupper(*(unsigned const char *)s1) - _mbbtoupper(*(unsigned const char *)s2);