Share via


_ismbcl0, _ismbcl1, _ismbcl2

Code Page 932 Specific

int_ismbcl0(unsignedintc**);**

int_ismbcl1(unsignedintc**);**

int_ismbcl2(unsignedintc**);**

Routine Required Header Compatibility
_ismbcl0 <mbstring.h> Win 95, Win NT
_ismbcl1 <mbstring.h> Win 95, Win NT
_ismbcl2 <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 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.

Parameter

c

Character to be tested

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

Character Classification Routines_ismbc Function Overview

See Also   is, isw Function Overview, _ismbb Function Overview