int _ismbslead( const unsigned char *string, const unsigned char *current ); int _ismbstrail( const unsigned char *string, const unsigned char *current );
- Pointer to start of string or previous known lead byte.
- Pointer to position in string to be tested.
_ismbslead and _ismbstrail return –1 if the character is a lead or trail byte, respectively. Otherwise they return zero.
The _ismbslead and _ismbstrail routines perform context-sensitive tests for multibyte-character string lead and trail bytes; they determine whether a given substring pointer points to a lead byte or a trail byte. _ismbslead and _ismbstrail are slower than their _ismbblead and _ismbbtrail counterparts because they take the string context into account.
|Routine||Required header||Optional headers||Compatibility|
|_ismbslead||<mbctype.h> or <mbstring.h>||<ctype.h>,* <limits.h>, <stdlib.h>||Win 98, Win Me, Win NT, Win 2000, Win XP|
|_ismbstrail||<mbctype.h> or <mbstring.h>||<ctype.h>,* <limits.h>, <stdlib.h>||Win 98, Win Me, Win NT, Win 2000, Win XP|
* For manifest constants for the test conditions.
For additional compatibility information, see Compatibility in the Introduction.
All versions of the C run-time libraries.