Редактиране

Споделяне чрез


_ismbbgraph, _ismbbgraph_l

Determines whether a particular multibyte character is a graphical character.

Syntax

int _ismbbgraph (
   unsigned int c
);
int _ismbbgraph_l (
   unsigned int c,
   _locale_t locale
);

Parameters

c
Integer to be tested.

locale
Locale to use.

Return value

Returns a nonzero value when the expression:

isctype(c, ( _PUNCT | _UPPER | _LOWER | _DIGIT )) || _ismbbkprint(c)

is nonzero for c, or 0 when it's zero. _ismbbgraph uses the current locale for any locale-dependent behavior. _ismbbgraph_l is identical except that it uses the locale passed in instead. For more information, see Locale.

Remarks

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
_ismbbgraph <mbctype.h>
_ismbbgraph_l <mbctype.h>

For more compatibility information, see Compatibility.

Libraries

All versions of the C run-time libraries.

See also

Byte classification
_ismbb routines