다음을 통해 공유


_pctype, _pwctype, _wctype, _mbctype, _mbcasemap

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at _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

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.

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 Routines
__pctype_func