_ismbbtrail, _ismbbtrail_l
Collapse the table of content
Expand the table of content

_ismbbtrail, _ismbbtrail_l

Determines whether a byte is a trailing byte of a multibyte character.

Important note 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 _ismbbtrail(
   unsigned int c 
int _ismbbtrail_l(
   unsigned int c,
   _locale_t locale 


The integer to be tested.


The locale to use.

_ismbbtrail returns a nonzero value if the integer c is the second byte of a multibyte character. For example, in code page 932 only, valid ranges are 0x40 to 0x7E and 0x80 to 0xFC.

_ismbbtrail uses the current locale for locale-dependent behavior. _ismbbtrail_l is identical except that it uses the locale that's passed in instead. For more information, see Locale.


Required header

Optional header


<mbctype.h> or <mbstring.h>

<ctype.h>,* <limits.h>, <stdlib.h>


<mbctype.h> or <mbstring.h>

<ctype.h>,* <limits.h>, <stdlib.h>

* For manifest constants for the test conditions.

For more compatibility information, see Compatibility.

Not applicable. To call the standard C function, use PInvoke. For more information, see Platform Invoke Examples.

© 2015 Microsoft