_ismbcl0, _ismbcl1, _ismbcl2
Code Page 932 Specific
int _ismbcl0( unsigned int c ); int _ismbcl1( unsigned int c ); int _ismbcl2( unsigned int c );
Parameter
- c
- Character to be tested.
Return Value
Each of these routines returns a nonzero value if the character satisfies the test condition or 0 if it does not. If c<= 255 and there is a corresponding _ismbb routine (for example, _ismbcalnum corresponds to _ismbbalnum), the result is the return value of the corresponding _ismbb routine.
Remarks
Each of these functions tests a given multibyte character for a given condition.
| Routine | Test condition (code page 932 only) |
|---|---|
| _ismbcl0 | JIS non-Kanji: 0x8140<=c<=0x889E. |
| _ismbcl1 | JIS level-1: 0x889F<=c<=0x9872. |
| _ismbcl2 | JIS level-2: 0x989F<=c<=0xEA9E. |
_ismbcl0, _ismbcl1, and _ismbcl2 check that the specified value c matches the test conditions described above, but do not check that c is a valid multibyte character. If the lower byte is in the ranges 0x00 – 0x3F, 0x7F, or 0xFD – 0xFF, these functions return a nonzero value, indicating that the character satisfies the test condition. Use _ismbbtrail to test whether the multibyte character is defined.
End Code Page 932 Specific
Requirements
| Routine | Required header | Compatibility |
|---|---|---|
| _ismbcl0 | <mbstring.h> | Win 98, Win Me, Win NT, Win 2000, Win XP |
| _ismbcl1 | <mbstring.h> | Win 98, Win Me, Win NT, Win 2000, Win XP |
| _ismbcl2 | <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
Character Classification Routines | _ismbc Function Overview | is, isw Function Overview | _ismbb Routines | Run-Time Routines and .NET Framework Equivalents