2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/msvcrt/mbstring/mbsupr.c
6 * PROGRAMER: Boudewijn Dekker
10 #include <msvcrt/mbstring.h>
11 #include <msvcrt/ctype.h>
13 unsigned int _mbbtoupper(unsigned int c
)
22 #define CASE_DIFF (0x8281 - 0x8260)
24 unsigned int _mbctoupper(unsigned int c
)
27 if ((c
& 0xFF00) != 0) {
28 // true multibyte case conversion needed
33 return _mbbtoupper(c
);
38 unsigned char * _mbsupr(unsigned char *x
)
45 *y
=_mbctoupper(*(unsigned short *)y
);