1 #include <msvcrt/mbstring.h>
2 #include <msvcrt/ctype.h>
4 unsigned int _mbbtolower(unsigned int c)
12 #define CASE_DIFF (0x8281 - 0x8260)
14 unsigned int _mbctolower(unsigned int c)
16 if ((c & 0xFF00) != 0) {
17 // true multibyte case conversion needed
21 return _mbbtolower(c);
26 unsigned char * _mbslwr(unsigned char *x)
31 if (!_ismbblead(*y)) {
34 *y=_mbctolower(*(unsigned short *)y);