Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_ismbcgraph, _ismbcprint, _ismbcpunct, _ismbcspace

int _ismbcgraph(
   unsigned int c 
);
int _ismbcprint(
   unsigned int c 
);
int _ismbcpunct(
   unsigned int c 
);
int _ismbcspace(
   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 example
_ismbcgraph Graphic Returns nonzero if and only if c is a single-byte representation of any ASCII or katakana printable character except a white space ( ).
_ismbcprint Printable Returns nonzero if and only if c is a single-byte representation of any ASCII or katakana printable character including a white space ( ).
_ismbcpunct Punctuation Returns nonzero if and only if c is a single-byte representation of any ASCII or katakana punctuation character.
_ismbcspace White space Returns nonzero if and only if c is a white-space character: c=0x20 or 0x09<=c<=0x0D.

Requirements

Routine Required header Compatibility
_ismbcgraph <mbstring.h> Win 98, Win Me, Win NT, Win 2000, Win XP
_ismbcprint <mbstring.h> Win 98, Win Me, Win NT, Win 2000, Win XP
_ismbcpunct <mbstring.h> Win 98, Win Me, Win NT, Win 2000, Win XP
_ismbcspace <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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.