_mbctombb
Converts a double-byte multibyte character to a corresponding single-byte multibyte character.
unsigned int _mbctombb( unsigned int c );
Parameter
- c
- Multibyte character to convert.
Return Value
If successful, _mbctombb returns the single-byte character that corresponds to c; otherwise it returns c.
Remarks
The _mbctombb function converts a given multibyte character to a corresponding single-byte multibyte character. Characters must correspond to single-byte characters within the range 0x20 – 0x7E or 0xA1 – 0xDF to be converted.
In previous versions, _mbctombb was called zentohan. Use _mbctombb instead.
Requirements
| Routine | Required header | Compatibility |
|---|---|---|
| _mbctombb | <mbstring.h> | Win 98, Win Me, Win NT, Win 2000, Win XP |
For additional compatibility information, see Compatibility in the Introduction.
Libraries
All versions of the C run-time libraries.
See Also
Data Conversion Routines | _mbbtombc | _mbcjistojms | _mbctohira | _mbctolower | Run-Time Routines and .NET Framework Equivalents