_ismbclegal, _ismbcsymbol

int_ismbclegal(unsignedintc**);**

int_ismbcsymbol(unsignedintc**);**

Routine Required Header Compatibility
_ismbclegal <mbstring.h> Win 95, Win NT
_ismbcsymbol <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 Example
_ismbclegal Valid multibyte Returns true if and only if the first byte of c is within ranges 0x81 – 0x9F or 0xE0 – 0xFC, while the second byte is within ranges 0x40 - 0x7E or 0x80 - FC.
_ismbcsymbol Multibyte symbol Returns true if and only if 0x8141<=c<=0x81AC.

  

Generic-Text Routine Mappings

TCHAR.H Routine _UNICODE & _MBCS Not Defined _MBCS Defined _UNICODE Defined
_istlegal Always returns false _ismbclegal Always returns false

Character Classification Routines_ismbc Function Overview

See Also   is, isw Function Overview, _ismbb Function Overview