Redigera

Dela via


_ismbchira, _ismbchira_l, _ismbckata, _ismbckata_l

Code Page 932 Specific functions

Important

This API cannot be used in applications that execute in the Windows Runtime. For more information, see CRT functions not supported in Universal Windows Platform apps.

Syntax

int _ismbchira(
   unsigned int c
);
int _ismbchira_l(
   unsigned int c,
   _locale_t locale
);
int _ismbckata(
   unsigned int c
);
int _ismbckata_l(
   unsigned int c,
   _locale_t locale
);

Parameters

c
Character to be tested.

locale
Locale to use.

Return value

Each of these routines returns a nonzero value if the character satisfies the test condition. Otherwise, they return 0. If c <= 255 and there's a corresponding _ismbb routine (for example, _ismbcalnum corresponds to _ismbbalnum), the result is the return value of the corresponding _ismbb routine.

Remarks

Each of these functions tests a given multibyte character for a given condition.

The versions of these functions with the _l suffix are identical except that they use the locale passed in instead of the current locale for their locale-dependent behavior. For more information, see Locale.

Routine Test condition (code page 932 only)
_ismbchira Double-byte Hiragana: 0x829F<=c<=0x82F1.
_ismbchira_l Double-byte Hiragana: 0x829F<=c<=0x82F1.
_ismbckata Double-byte katakana: 0x8340<=c<=0x8396.
_ismbckata_l Double-byte katakana: 0x8340<=c<=0x8396.

End Code Page 932 Specific

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
_ismbchira <mbstring.h>
_ismbchira_l <mbstring.h>
_ismbckata <mbstring.h>
_ismbckata_l <mbstring.h>

For more compatibility information, see Compatibility.

See also

Character classification
_ismbc routines
is, isw routines
Locale
Interpretation of multibyte-character sequences