共用方式為


_ismbbkpunct, _ismbbkpunct_l

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _ismbbkpunct, _ismbbkpunct_l.

Checks whether a multibyte character is a punctuation character.

Syntax

int _ismbbkpunct(  
   unsigned int c   
);  
int _ismbbkpunct_l(  
   unsigned int c,  
   _locale_t locale  
);  

Parameters

c
Integer to be tested.

locale
Locale to use.

Return Value

_ismbbkpunct returns a nonzero value if the integer c is a non-ASCII punctuation symbol, or 0 if it is not. For example, in code page 932 only, _ismbbkpunct tests for katakana punctuation. _ismbbkpunct uses the current locale for any locale-dependent character settings. _ismbbkpunct_l is identical except that it uses the locale that's passed in. For more information, see Locale.

Requirements

Routine Required header
_ismbbkpunct <mbctype.h>
_ismbbkpunct_l <mbctype.h>

For more compatibility information, see Compatibility.

See Also

Byte Classification
_ismbb Routines