unsigned int _mbctolower( unsigned int c );
unsigned int _mbctoupper( unsigned int c );
Routine | Required Header | Compatibility |
_mbctolower | <mbstring.h> | Win 95, Win NT |
_mbctoupper | <mbstring.h> | Win 95, Win NT |
For additional compatibility information, see Compatibility in the Introduction.
Libraries
LIBC.LIB | Single thread static library, retail version |
LIBCMT.LIB | Multithread static library, retail version |
MSVCRT.LIB | Import library for MSVCRT.DLL, retail version |
Return Value
Each of these functions returns the converted character c, if possible. Otherwise it returns the character c unchanged.
Parameter
c
Multibyte character to convert
Remarks
The _mbctolower and _mbctoupper functions test a character c and, if possible, apply one of the following conversions.
Routine | Converts |
_mbctolower | Uppercase character to lowercase character |
_mbctoupper | Lowercase character to uppercase character |
In previous versions, _mbctolower was called jtolower, and _mbctoupper was called jtoupper. For new code, use the new names instead.
Generic-Text Routine Mappings
TCHAR.H Routine | _UNICODE & _MBCS Not Defined | _MBCS Defined | _UNICODE Defined |
_totlower | tolower | _mbctolower | towlower |
_totupper | toupper | _mbctoupper | towupper |
See Also _mbbtombc, _mbcjistojms, _mbctohira, _mbctombb