_pctype、_pwctype、_wctype、_mbctype、_mbcasemap_pctype, _pwctype, _wctype, _mbctype, _mbcasemap

这些全局变量包含字符分类函数使用的信息。These global variables contain information used by the character classification functions. 它们仅供内部使用。They are for internal use only.

语法Syntax

extern const unsigned short *_pctype;  
extern const wctype_t *_pwctype;  
extern const unsigned short _wctype[];  
extern unsigned char _mbctype[];  
extern unsigned char _mbcasemap[];  

备注Remarks

_pctype_pwctype_wctype 中的信息供内部函数 isupper、_isupper_l、iswupper、_iswupper_lislower、iswlower、_islower_l、_iswlower_lisdigit、iswdigit、_isdigit_l、_iswdigit_lisxdigit、iswxdigit、_isxdigit_l、_iswxdigit_lisspace、iswspace、_isspace_l、_iswspace_lisalnum、iswalnum、_isalnum_l、_iswalnum_lispunct、iswpunct、_ispunct_l、_iswpunct_lisgraph、iswgraph、_isgraph_l、_iswgraph_l,和 iscntrl、iswcntrl、_iscntrl_l_iswcntrl_l,以及 toupper、_toupper、towupper、_toupper_l、_towupper_ltolower、_tolower、towlower、_tolower_l、_towlower_l 函数使用。The information in _pctype, _pwctype, and _wctype is used internally by functions isupper, _isupper_l, iswupper, _iswupper_l, islower, iswlower, _islower_l, _iswlower_l, isdigit, iswdigit, _isdigit_l, _iswdigit_l, isxdigit, iswxdigit, _isxdigit_l, _iswxdigit_l, isspace, iswspace, _isspace_l, _iswspace_l, isalnum, iswalnum, _isalnum_l, _iswalnum_l, ispunct, iswpunct, _ispunct_l, _iswpunct_l, isgraph, iswgraph, _isgraph_l, _iswgraph_l, and iscntrl, iswcntrl, _iscntrl_l, _iswcntrl_l, as well as the toupper, _toupper, towupper, _toupper_l, _towupper_l and tolower, _tolower, towlower, _tolower_l, _towlower_l functions. 应使用这些函数来取代访问全局变量。These functions should be used instead of accessing these global variables.

_mbctype_mbcasemap 中的信息供 _ismbbkalnum、_ismbbkalnum_l_ismbbkana、_ismbbkana_l_ismbbkpunct、_ismbbkpunct_l_ismbbkprint、_ismbbkprint_l_ismbbalpha_ismbbpunct、_ismbbpunct_l_ismbbalnum、_ismbbalnum_l_ismbbprint、_ismbbprint_l_ismbbgraph、_ismbbgraph_l_ismbblead、_ismbblead_l_ismbbtrail、_ismbbtrail_l_ismbslead、_ismbstrail、_ismbslead_l、_ismbstrail_l,和 _ismbslead、_ismbstrail、_ismbslead_l、_ismbstrail_l 在内部使用。The information in _mbctype and _mbcasemap is used internally by _ismbbkalnum, _ismbbkalnum_l, _ismbbkana, _ismbbkana_l, _ismbbkpunct, _ismbbkpunct_l, _ismbbkprint, _ismbbkprint_l, _ismbbalpha, _ismbbpunct, _ismbbpunct_l, _ismbbalnum, _ismbbalnum_l, _ismbbprint, _ismbbprint_l, _ismbbgraph, _ismbbgraph_l, _ismbblead, _ismbblead_l, _ismbbtrail, _ismbbtrail_l, _ismbslead, _ismbstrail, _ismbslead_l, _ismbstrail_l, and _ismbslead, _ismbstrail, _ismbslead_l, _ismbstrail_l. 应使用这些函数来取代访问全局变量。Use these functions instead of accessing the global variables.

惠?Requirements

不适用于公共使用。Not for public use.

请参阅See Also

is、isw 例程 is, isw Routines
__pctype_func__pctype_func