_ismbcgraph, _ismbcprint, _ismbcpunct, _ismbcspace
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_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

Show:
© 2016 Microsoft