Share via


_ismbcalnum, _ismbcalpha, _ismbcdigit

int_ismbcalnum(unsignedintc**);**

int_ismbcalpha(unsignedintc**);**

int_ismbcdigit(unsignedintc**);**

Routine Required Header Compatibility
_ismbcalnum <mbstring.h> Win 95, Win NT
_ismbcalpha <mbstring.h> Win 95, Win NT
_ismbcdigit <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 routines tests a given multibyte character for a given condition.

Routine Test Condition Code Page 932 Example
_ismbcalnum Alphanumeric Returns true if and only if c is a single-byte representation of an ASCII English letter: See examples for _ismbcdigit and _ismbcalpha.
_ismbcalpha Alphabetic Returns true if and only if c is a single-byte representation of an ASCII English letter: 0x41<=c<=0x5A or 0x61<=c<=0x7A; or a Katakana letter: 0xA6<=c<=0xDF.
_ismbcdigit Digit Returns true if and only if c is a single-byte representation of an ASCII digit: 0x30<=c<=0x39.

Character Classification Routines_ismbc Function Overview

See Also   is, isw Function Overview, _ismbb Function Overview