_ismbcgraph, _ismbcprint, _ismbcpunct, _ismbcspace
int_ismbcgraph(unsignedintc**);**
int_ismbcprint(unsignedintc**);**
int_ismbcpunct(unsignedintc**);**
int_ismbcspace(unsignedintc**);**
Routine | Required Header | Compatibility |
_ismbcgraph | <mbstring.h> | Win 95, Win NT |
_ismbcprint | <mbstring.h> | Win 95, Win NT |
_ismbcpunct | <mbstring.h> | Win 95, Win NT |
_ismbcspace | <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 |
_ismbcgraph | Graphic | Returns true if and only if c is a single-byte representation of any ASCII or Katakana printable character except a white space ( ). |
_ismbcprint | Printable | Returns true if and only if c is a single-byte representation of any ASCII or Katakana printable character including a white space ( ). |
_ismbcpunct | Punctuation | Returns true if and only if c is a single-byte representation of any ASCII or Katakana punctuation character. |
_ismbcspace | Whitespace | Returns true if and only if c is a whitespace character: c=0x20 or 0x09<=c<=0x0D. |
Character Classification Routines | _ismbc Function Overview
See Also is, isw Function Overview, _ismbb Function Overview