Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 2.08 KB

ismbbtrail-ismbbtrail-l.md

File metadata and controls

61 lines (44 loc) · 2.08 KB
description title ms.date api_name api_location api_type topic_type f1_keywords helpviewer_keywords ms.assetid
Learn more about: _ismbbtrail, _ismbbtrail_l
_ismbbtrail, _ismbbtrail_l
4/2/2020
_ismbbtrail
_ismbbtrail_l
_o__ismbbtrail
_o__ismbbtrail_l
msvcrt.dll
msvcr80.dll
msvcr90.dll
msvcr100.dll
msvcr100_clr0400.dll
msvcr110.dll
msvcr110_clr0400.dll
msvcr120.dll
msvcr120_clr0400.dll
ucrtbase.dll
api-ms-win-crt-multibyte-l1-1-0.dll
DLLExport
apiref
_ismbbtrail
ismbbtrail
_ismbbtrail_l
ismbbtrail_l
ismbbtrail_l function
_ismbbtrail function
_ismbbtrail_l function
ismbbtrail function
dfdd0292-960b-4c1d-bf11-146e0fc80247

_ismbbtrail, _ismbbtrail_l

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

Syntax

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

Parameters

c
The integer to be tested.

locale
The locale to use.

Return value

_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.

Remarks

_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.

By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.

Requirements

Routine Required header Optional header
_ismbbtrail <mbctype.h> or <mbstring.h> <ctype.h>,* <limits.h>, <stdlib.h>
_ismbbtrail_l <mbctype.h> or <mbstring.h> <ctype.h>,* <limits.h>, <stdlib.h>

* For manifest constants for the test conditions.

For more compatibility information, see Compatibility.

See also

Byte classification
_ismbb routines