共用方式為


_ismbbkpunct, _ismbbkpunct_l

Checks whether a multibyte character is a punctuation character.

Important

This API cannot be used in applications that execute in the Windows Runtime. For more information, see CRT functions not supported with /ZW.

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

Reference

Byte Classification

_ismbb Routines