Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
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.

_ismbbtrail, _ismbbtrail_l 

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


int _ismbbtrail(
   unsigned int c 
);
int _ismbbtrail_l(
   unsigned int c,
   _locale_t locale 
);

Parameters

c

Integer to be tested.

locale

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 passed in instead.

Routine Required header Optional header Compatibility

_ismbbtrail

<mbctype.h> or <mbstring.h>

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

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

_ismbbtrail_l

<mbctype.h> or <mbstring.h>

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

Windows 95, Windows 98, Windows 98 Second Edition, Windows Millennium Edition, Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003

* For manifest constants for the test conditions.

For more compatibility information, see Compatibility in the Introduction.

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

Community Additions

ADD
Show:
© 2015 Microsoft