ReactOS 0.4.15-dev-7788-g1ad9096
ctype.h File Reference
#include <crtdefs.h>
Include dependency graph for ctype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define WEOF   (wint_t)(0xFFFF)
 
#define _CRT_CTYPEDATA_DEFINED
 
#define __PCTYPE_FUNC   _pctype
 
#define _CRT_WCTYPEDATA_DEFINED
 
#define _UPPER   0x1
 
#define _LOWER   0x2
 
#define _DIGIT   0x4
 
#define _SPACE   0x8
 
#define _PUNCT   0x10
 
#define _CONTROL   0x20
 
#define _BLANK   0x40
 
#define _HEX   0x80
 
#define _LEADBYTE   0x8000
 
#define _ALPHA   (0x0100|_UPPER|_LOWER)
 
#define _CTYPE_DEFINED
 
#define _WCTYPE_DEFINED
 
#define MB_CUR_MAX   ___mb_cur_max_func()
 
#define __mb_cur_max   (*_imp____mb_cur_max)
 
#define ___mb_cur_max_func()   (*_imp____mb_cur_max)
 
#define __chvalidchk(a, b)   (__PCTYPE_FUNC[(a)] & (b))
 
#define _chvalidchk_l(_Char, _Flag, _Locale)   (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->pctype[_Char] & (_Flag))
 
#define _ischartype_l(_Char, _Flag, _Locale)   (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale))
 
#define _isalpha_l(_Char, _Locale)   _ischartype_l(_Char,_ALPHA,_Locale)
 
#define _isupper_l(_Char, _Locale)   _ischartype_l(_Char,_UPPER,_Locale)
 
#define _islower_l(_Char, _Locale)   _ischartype_l(_Char,_LOWER,_Locale)
 
#define _isdigit_l(_Char, _Locale)   _ischartype_l(_Char,_DIGIT,_Locale)
 
#define _isxdigit_l(_Char, _Locale)   _ischartype_l(_Char,_HEX,_Locale)
 
#define _isspace_l(_Char, _Locale)   _ischartype_l(_Char,_SPACE,_Locale)
 
#define _ispunct_l(_Char, _Locale)   _ischartype_l(_Char,_PUNCT,_Locale)
 
#define _isalnum_l(_Char, _Locale)   _ischartype_l(_Char,_ALPHA|_DIGIT,_Locale)
 
#define _isprint_l(_Char, _Locale)   _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale)
 
#define _isgraph_l(_Char, _Locale)   _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale)
 
#define _iscntrl_l(_Char, _Locale)   _ischartype_l(_Char,_CONTROL,_Locale)
 
#define _tolower(_Char)   ((_Char)-'A'+'a')
 
#define _toupper(_Char)   ((_Char)-'a'+'A')
 
#define __isascii(_Char)   ((unsigned)(_Char) < 0x80)
 
#define __toascii(_Char)   ((_Char) & 0x7f)
 
#define _WCTYPE_INLINE_DEFINED
 
#define iswalpha(_c)   (iswctype(_c,_ALPHA))
 
#define iswupper(_c)   (iswctype(_c,_UPPER))
 
#define iswlower(_c)   (iswctype(_c,_LOWER))
 
#define iswdigit(_c)   (iswctype(_c,_DIGIT))
 
#define iswxdigit(_c)   (iswctype(_c,_HEX))
 
#define iswspace(_c)   (iswctype(_c,_SPACE))
 
#define iswpunct(_c)   (iswctype(_c,_PUNCT))
 
#define iswalnum(_c)   (iswctype(_c,_ALPHA|_DIGIT))
 
#define iswprint(_c)   (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT))
 
#define iswgraph(_c)   (iswctype(_c,_PUNCT|_ALPHA|_DIGIT))
 
#define iswcntrl(_c)   (iswctype(_c,_CONTROL))
 
#define iswascii(_c)   ((unsigned)(_c) < 0x80)
 
#define _iswalpha_l(_c, _p)   (_iswctype_l(_c,_ALPHA,_p))
 
#define _iswupper_l(_c, _p)   (_iswctype_l(_c,_UPPER,_p))
 
#define _iswlower_l(_c, _p)   (_iswctype_l(_c,_LOWER,_p))
 
#define _iswdigit_l(_c, _p)   (_iswctype_l(_c,_DIGIT,_p))
 
#define _iswxdigit_l(_c, _p)   (_iswctype_l(_c,_HEX,_p))
 
#define _iswspace_l(_c, _p)   (_iswctype_l(_c,_SPACE,_p))
 
#define _iswpunct_l(_c, _p)   (_iswctype_l(_c,_PUNCT,_p))
 
#define _iswalnum_l(_c, _p)   (_iswctype_l(_c,_ALPHA|_DIGIT,_p))
 
#define _iswprint_l(_c, _p)   (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p))
 
#define _iswgraph_l(_c, _p)   (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p))
 
#define _iswcntrl_l(_c, _p)   (_iswctype_l(_c,_CONTROL,_p))
 
#define __iscsymf(_c)   (isalpha(_c) || ((_c)=='_'))
 
#define __iscsym(_c)   (isalnum(_c) || ((_c)=='_'))
 
#define __iswcsymf(_c)   (iswalpha(_c) || ((_c)=='_'))
 
#define __iswcsym(_c)   (iswalnum(_c) || ((_c)=='_'))
 
#define _iscsymf_l(_c, _p)   (_isalpha_l(_c,_p) || ((_c)=='_'))
 
#define _iscsym_l(_c, _p)   (_isalnum_l(_c,_p) || ((_c)=='_'))
 
#define _iswcsymf_l(_c, _p)   (_iswalpha_l(_c,_p) || ((_c)=='_'))
 
#define _iswcsym_l(_c, _p)   (_iswalnum_l(_c,_p) || ((_c)=='_'))
 
#define isascii   __isascii
 
#define toascii   __toascii
 
#define iscsymf   __iscsymf
 
#define iscsym   __iscsym
 

Functions

_CRTIMP const unsigned short *__cdecl __pctype_func (void)
 
 _CRTDATA (extern const unsigned short *_pctype)
 
 _CRTDATA (extern const unsigned short _wctype[])
 
_CRTIMP const wctype_t *__cdecl __pwctype_func (void)
 
 _CRTDATA (extern const wctype_t *_pwctype)
 
pthreadlocinfo __cdecl __updatetlocinfo (void)
 
pthreadmbcinfo __cdecl __updatetmbcinfo (void)
 
_Check_return_ _CRTIMP int __cdecl _isctype (_In_ int _C, _In_ int _Type)
 
_Check_return_ _CRTIMP int __cdecl _isctype_l (_In_ int _C, _In_ int _Type, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isalpha (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isalpha_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isupper (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isupper_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl islower (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _islower_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isdigit (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isdigit_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isxdigit (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isxdigit_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isspace (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isspace_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl ispunct (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _ispunct_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isalnum (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isalnum_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isprint (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isprint_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl isgraph (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isgraph_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iscntrl (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _iscntrl_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl toupper (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl tolower (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _tolower (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _tolower_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl _toupper (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _toupper_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl __isascii (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl __toascii (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl __iscsymf (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl __iscsym (_In_ int _C)
 
int __cdecl isblank (int _C)
 
_Check_return_ _CRTIMP int __cdecl iswalpha (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswalpha_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswupper (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswupper_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswlower (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswlower_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswdigit (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswdigit_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswxdigit (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswxdigit_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswspace (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswspace_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswpunct (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswpunct_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswalnum (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswalnum_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswprint (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswprint_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswgraph (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswgraph_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswcntrl (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswcntrl_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswascii (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl isleadbyte (_In_ int _C)
 
_Check_return_ _CRTIMP int __cdecl _isleadbyte_l (_In_ int _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP wint_t __cdecl towupper (_In_ wint_t _C)
 
_Check_return_ _CRTIMP wint_t __cdecl _towupper_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP wint_t __cdecl towlower (_In_ wint_t _C)
 
_Check_return_ _CRTIMP wint_t __cdecl _towlower_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl iswctype (_In_ wint_t _C, _In_ wctype_t _Type)
 
_Check_return_ _CRTIMP int __cdecl _iswctype_l (_In_ wint_t _C, _In_ wctype_t _Type, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl __iswcsymf (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswcsymf_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_Check_return_ _CRTIMP int __cdecl __iswcsym (_In_ wint_t _C)
 
_Check_return_ _CRTIMP int __cdecl _iswcsym_l (_In_ wint_t _C, _In_opt_ _locale_t _Locale)
 
_CRTIMP int __cdecl is_wctype (_In_ wint_t _C, _In_ wctype_t _Type)
 
int __cdecl iswblank (wint_t _C)
 

Variables

const unsigned char __newclmap []
 
const unsigned char __newcumap []
 
pthreadlocinfo __ptlocinfo
 
pthreadmbcinfo __ptmbcinfo
 
int __globallocalestatus
 
int __locale_changed
 
struct threadlocaleinfostruct __initiallocinfo
 
_locale_tstruct __initiallocalestructinfo
 
int_imp____mb_cur_max
 

Macro Definition Documentation

◆ ___mb_cur_max_func

#define ___mb_cur_max_func (   void)    (*_imp____mb_cur_max)

Definition at line 636 of file ctype.h.

◆ __chvalidchk

#define __chvalidchk (   a,
  b 
)    (__PCTYPE_FUNC[(a)] & (b))

Definition at line 640 of file ctype.h.

◆ __isascii

#define __isascii (   _Char)    ((unsigned)(_Char) < 0x80)

Definition at line 656 of file ctype.h.

◆ __iscsym

#define __iscsym (   _c)    (isalnum(_c) || ((_c)=='_'))

Definition at line 691 of file ctype.h.

◆ __iscsymf

#define __iscsymf (   _c)    (isalpha(_c) || ((_c)=='_'))

Definition at line 690 of file ctype.h.

◆ __iswcsym

#define __iswcsym (   _c)    (iswalnum(_c) || ((_c)=='_'))

Definition at line 693 of file ctype.h.

◆ __iswcsymf

#define __iswcsymf (   _c)    (iswalpha(_c) || ((_c)=='_'))

Definition at line 692 of file ctype.h.

◆ __mb_cur_max

#define __mb_cur_max   (*_imp____mb_cur_max)

Definition at line 629 of file ctype.h.

◆ __PCTYPE_FUNC

#define __PCTYPE_FUNC   _pctype

Definition at line 26 of file ctype.h.

◆ __toascii

#define __toascii (   _Char)    ((_Char) & 0x7f)

Definition at line 657 of file ctype.h.

◆ _ALPHA

#define _ALPHA   (0x0100|_UPPER|_LOWER)

Definition at line 76 of file ctype.h.

◆ _BLANK

#define _BLANK   0x40

Definition at line 72 of file ctype.h.

◆ _chvalidchk_l

#define _chvalidchk_l (   _Char,
  _Flag,
  _Locale 
)    (!_Locale ? __chvalidchk(_Char,_Flag) : ((_locale_t)_Locale)->locinfo->pctype[_Char] & (_Flag))

Definition at line 641 of file ctype.h.

◆ _CONTROL

#define _CONTROL   0x20

Definition at line 71 of file ctype.h.

◆ _CRT_CTYPEDATA_DEFINED

#define _CRT_CTYPEDATA_DEFINED

Definition at line 20 of file ctype.h.

◆ _CRT_WCTYPEDATA_DEFINED

#define _CRT_WCTYPEDATA_DEFINED

Definition at line 39 of file ctype.h.

◆ _CTYPE_DEFINED

#define _CTYPE_DEFINED

Definition at line 79 of file ctype.h.

◆ _DIGIT

#define _DIGIT   0x4

Definition at line 67 of file ctype.h.

◆ _HEX

#define _HEX   0x80

Definition at line 73 of file ctype.h.

◆ _isalnum_l

#define _isalnum_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_ALPHA|_DIGIT,_Locale)

Definition at line 650 of file ctype.h.

◆ _isalpha_l

#define _isalpha_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_ALPHA,_Locale)

Definition at line 643 of file ctype.h.

◆ _ischartype_l

#define _ischartype_l (   _Char,
  _Flag,
  _Locale 
)    (((_Locale)!=NULL && (((_locale_t)(_Locale))->locinfo->mb_cur_max) > 1) ? _isctype_l(_Char,(_Flag),_Locale) : _chvalidchk_l(_Char,_Flag,_Locale))

Definition at line 642 of file ctype.h.

◆ _iscntrl_l

#define _iscntrl_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_CONTROL,_Locale)

Definition at line 653 of file ctype.h.

◆ _iscsym_l

#define _iscsym_l (   _c,
  _p 
)    (_isalnum_l(_c,_p) || ((_c)=='_'))

Definition at line 695 of file ctype.h.

◆ _iscsymf_l

#define _iscsymf_l (   _c,
  _p 
)    (_isalpha_l(_c,_p) || ((_c)=='_'))

Definition at line 694 of file ctype.h.

◆ _isdigit_l

#define _isdigit_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_DIGIT,_Locale)

Definition at line 646 of file ctype.h.

◆ _isgraph_l

#define _isgraph_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_PUNCT|_ALPHA|_DIGIT,_Locale)

Definition at line 652 of file ctype.h.

◆ _islower_l

#define _islower_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_LOWER,_Locale)

Definition at line 645 of file ctype.h.

◆ _isprint_l

#define _isprint_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_BLANK|_PUNCT|_ALPHA|_DIGIT,_Locale)

Definition at line 651 of file ctype.h.

◆ _ispunct_l

#define _ispunct_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_PUNCT,_Locale)

Definition at line 649 of file ctype.h.

◆ _isspace_l

#define _isspace_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_SPACE,_Locale)

Definition at line 648 of file ctype.h.

◆ _isupper_l

#define _isupper_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_UPPER,_Locale)

Definition at line 644 of file ctype.h.

◆ _iswalnum_l

#define _iswalnum_l (   _c,
  _p 
)    (_iswctype_l(_c,_ALPHA|_DIGIT,_p))

Definition at line 683 of file ctype.h.

◆ _iswalpha_l

#define _iswalpha_l (   _c,
  _p 
)    (_iswctype_l(_c,_ALPHA,_p))

Definition at line 676 of file ctype.h.

◆ _iswcntrl_l

#define _iswcntrl_l (   _c,
  _p 
)    (_iswctype_l(_c,_CONTROL,_p))

Definition at line 686 of file ctype.h.

◆ _iswcsym_l

#define _iswcsym_l (   _c,
  _p 
)    (_iswalnum_l(_c,_p) || ((_c)=='_'))

Definition at line 697 of file ctype.h.

◆ _iswcsymf_l

#define _iswcsymf_l (   _c,
  _p 
)    (_iswalpha_l(_c,_p) || ((_c)=='_'))

Definition at line 696 of file ctype.h.

◆ _iswdigit_l

#define _iswdigit_l (   _c,
  _p 
)    (_iswctype_l(_c,_DIGIT,_p))

Definition at line 679 of file ctype.h.

◆ _iswgraph_l

#define _iswgraph_l (   _c,
  _p 
)    (_iswctype_l(_c,_PUNCT|_ALPHA|_DIGIT,_p))

Definition at line 685 of file ctype.h.

◆ _iswlower_l

#define _iswlower_l (   _c,
  _p 
)    (_iswctype_l(_c,_LOWER,_p))

Definition at line 678 of file ctype.h.

◆ _iswprint_l

#define _iswprint_l (   _c,
  _p 
)    (_iswctype_l(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT,_p))

Definition at line 684 of file ctype.h.

◆ _iswpunct_l

#define _iswpunct_l (   _c,
  _p 
)    (_iswctype_l(_c,_PUNCT,_p))

Definition at line 682 of file ctype.h.

◆ _iswspace_l

#define _iswspace_l (   _c,
  _p 
)    (_iswctype_l(_c,_SPACE,_p))

Definition at line 681 of file ctype.h.

◆ _iswupper_l

#define _iswupper_l (   _c,
  _p 
)    (_iswctype_l(_c,_UPPER,_p))

Definition at line 677 of file ctype.h.

◆ _iswxdigit_l

#define _iswxdigit_l (   _c,
  _p 
)    (_iswctype_l(_c,_HEX,_p))

Definition at line 680 of file ctype.h.

◆ _isxdigit_l

#define _isxdigit_l (   _Char,
  _Locale 
)    _ischartype_l(_Char,_HEX,_Locale)

Definition at line 647 of file ctype.h.

◆ _LEADBYTE

#define _LEADBYTE   0x8000

Definition at line 75 of file ctype.h.

◆ _LOWER

#define _LOWER   0x2

Definition at line 66 of file ctype.h.

◆ _PUNCT

#define _PUNCT   0x10

Definition at line 70 of file ctype.h.

◆ _SPACE

#define _SPACE   0x8

Definition at line 68 of file ctype.h.

◆ _tolower

#define _tolower (   _Char)    ((_Char)-'A'+'a')

Definition at line 654 of file ctype.h.

◆ _toupper

#define _toupper (   _Char)    ((_Char)-'a'+'A')

Definition at line 655 of file ctype.h.

◆ _UPPER

#define _UPPER   0x1

Definition at line 65 of file ctype.h.

◆ _WCTYPE_DEFINED

#define _WCTYPE_DEFINED

Definition at line 342 of file ctype.h.

◆ _WCTYPE_INLINE_DEFINED

#define _WCTYPE_INLINE_DEFINED

Definition at line 660 of file ctype.h.

◆ isascii

#define isascii   __isascii

Definition at line 742 of file ctype.h.

◆ iscsym

#define iscsym   __iscsym

Definition at line 745 of file ctype.h.

◆ iscsymf

#define iscsymf   __iscsymf

Definition at line 744 of file ctype.h.

◆ iswalnum

#define iswalnum (   _c)    (iswctype(_c,_ALPHA|_DIGIT))

Definition at line 671 of file ctype.h.

◆ iswalpha

#define iswalpha (   _c)    (iswctype(_c,_ALPHA))

Definition at line 664 of file ctype.h.

◆ iswascii

#define iswascii (   _c)    ((unsigned)(_c) < 0x80)

Definition at line 675 of file ctype.h.

◆ iswcntrl

#define iswcntrl (   _c)    (iswctype(_c,_CONTROL))

Definition at line 674 of file ctype.h.

◆ iswdigit

#define iswdigit (   _c)    (iswctype(_c,_DIGIT))

Definition at line 667 of file ctype.h.

◆ iswgraph

#define iswgraph (   _c)    (iswctype(_c,_PUNCT|_ALPHA|_DIGIT))

Definition at line 673 of file ctype.h.

◆ iswlower

#define iswlower (   _c)    (iswctype(_c,_LOWER))

Definition at line 666 of file ctype.h.

◆ iswprint

#define iswprint (   _c)    (iswctype(_c,_BLANK|_PUNCT|_ALPHA|_DIGIT))

Definition at line 672 of file ctype.h.

◆ iswpunct

#define iswpunct (   _c)    (iswctype(_c,_PUNCT))

Definition at line 670 of file ctype.h.

◆ iswspace

#define iswspace (   _c)    (iswctype(_c,_SPACE))

Definition at line 669 of file ctype.h.

◆ iswupper

#define iswupper (   _c)    (iswctype(_c,_UPPER))

Definition at line 665 of file ctype.h.

◆ iswxdigit

#define iswxdigit (   _c)    (iswctype(_c,_HEX))

Definition at line 668 of file ctype.h.

◆ MB_CUR_MAX

#define MB_CUR_MAX   ___mb_cur_max_func()

Definition at line 624 of file ctype.h.

◆ toascii

#define toascii   __toascii

Definition at line 743 of file ctype.h.

◆ WEOF

#define WEOF   (wint_t)(0xFFFF)

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 16 of file ctype.h.

Function Documentation

◆ __isascii()

◆ __iscsym()

◆ __iscsymf()

◆ __iswcsym()

◆ __iswcsymf()

◆ __pctype_func()

_CRTIMP const unsigned short *__cdecl __pctype_func ( void  )

Definition at line 1523 of file locale.c.

1524{
1525 return get_locinfo()->pctype;
1526}
MSVCRT_pthreadlocinfo get_locinfo(void)
Definition: locale.c:354
unsigned short * pctype
Definition: msvcrt.h:131

◆ __pwctype_func()

_CRTIMP const wctype_t *__cdecl __pwctype_func ( void  )

Definition at line 569 of file ctype.c.

570{
571 return _pwctype;
572}
const unsigned short * _pwctype
Definition: ctype.c:557

◆ __toascii()

◆ __updatetlocinfo()

pthreadlocinfo __cdecl __updatetlocinfo ( void  )

◆ __updatetmbcinfo()

pthreadmbcinfo __cdecl __updatetmbcinfo ( void  )

◆ _CRTDATA() [1/3]

_CRTDATA ( extern const unsigned short _pctype)

◆ _CRTDATA() [2/3]

_CRTDATA ( extern const unsigned short  _wctype[])

◆ _CRTDATA() [3/3]

_CRTDATA ( extern const wctype_t _pwctype)

◆ _isalnum_l()

_Check_return_ _CRTIMP int __cdecl _isalnum_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 193 of file stubs.c.

196{
197 return _ischartype_l(c, _ALPHA | _DIGIT, locale);
198}
Definition: _locale.h:75
const GLubyte * c
Definition: glext.h:8905
#define _ALPHA
Definition: ctype.h:76
#define _ischartype_l(_Char, _Flag, _Locale)
Definition: ctype.h:642
#define _DIGIT
Definition: ctype.h:67

◆ _isalpha_l()

_Check_return_ _CRTIMP int __cdecl _isalpha_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 205 of file stubs.c.

208{
209 return _ischartype_l(c, _ALPHA, locale);
210}

◆ _iscntrl_l()

_Check_return_ _CRTIMP int __cdecl _iscntrl_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 217 of file stubs.c.

220{
221 return _ischartype_l(c, _CONTROL, locale);
222}
#define _CONTROL
Definition: ctype.h:71

◆ _isctype()

_Check_return_ _CRTIMP int __cdecl _isctype ( _In_ int  _C,
_In_ int  _Type 
)

Referenced by isblank(), isleadbyte(), and iswctype().

◆ _isctype_l()

_Check_return_ _CRTIMP int __cdecl _isctype_l ( _In_ int  _C,
_In_ int  _Type,
_In_opt_ _locale_t  _Locale 
)

Referenced by _ischartype_l().

◆ _isdigit_l()

_Check_return_ _CRTIMP int __cdecl _isdigit_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 229 of file stubs.c.

232{
233 return _ischartype_l(c, _DIGIT, locale);
234}

◆ _isgraph_l()

_Check_return_ _CRTIMP int __cdecl _isgraph_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 241 of file stubs.c.

244{
246}
#define _PUNCT
Definition: ctype.h:70

◆ _isleadbyte_l()

_Check_return_ _CRTIMP int __cdecl _isleadbyte_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Referenced by _mbstowcs_l(), and _mbtowc_l().

◆ _islower_l()

_Check_return_ _CRTIMP int __cdecl _islower_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 253 of file stubs.c.

256{
257 return _ischartype_l(c, _LOWER, locale);
258}
#define _LOWER
Definition: ctype.h:66

◆ _isprint_l()

_Check_return_ _CRTIMP int __cdecl _isprint_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 265 of file stubs.c.

268{
270}
#define _BLANK
Definition: ctype.h:72

◆ _ispunct_l()

_Check_return_ _CRTIMP int __cdecl _ispunct_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _isspace_l()

_Check_return_ _CRTIMP int __cdecl _isspace_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 277 of file stubs.c.

280{
281 return _ischartype_l(c, _SPACE, locale);
282}
#define _SPACE
Definition: ctype.h:68

◆ _isupper_l()

_Check_return_ _CRTIMP int __cdecl _isupper_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 289 of file stubs.c.

292{
293 return _ischartype_l(c, _UPPER, locale);
294}
#define _UPPER
Definition: ctype.h:65

◆ _iswalnum_l()

_Check_return_ _CRTIMP int __cdecl _iswalnum_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 301 of file stubs.c.

304{
305 return _iswctype_l(c, _ALPHA|_DIGIT, locale);
306}
_Check_return_ _CRTIMP int __cdecl _iswctype_l(_In_ wint_t c, _In_ wctype_t type, _In_opt_ _locale_t locale)
Definition: stubs.c:337

◆ _iswalpha_l()

_Check_return_ _CRTIMP int __cdecl _iswalpha_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 313 of file stubs.c.

316{
317 return _iswctype_l(c, _ALPHA, locale);
318}

◆ _iswcntrl_l()

_Check_return_ _CRTIMP int __cdecl _iswcntrl_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 325 of file stubs.c.

328{
330 return _iswctype_l(c, _CONTROL, locale);
331}
#define UNIMPLEMENTED
Definition: stubs.c:6

◆ _iswcsym_l()

_Check_return_ _CRTIMP int __cdecl _iswcsym_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswcsymf_l()

_Check_return_ _CRTIMP int __cdecl _iswcsymf_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

◆ _iswctype_l()

_Check_return_ _CRTIMP int __cdecl _iswctype_l ( _In_ wint_t  _C,
_In_ wctype_t  _Type,
_In_opt_ _locale_t  _Locale 
)

Definition at line 337 of file stubs.c.

341{
343 return 0;
344}

◆ _iswdigit_l()

_Check_return_ _CRTIMP int __cdecl _iswdigit_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 351 of file stubs.c.

354{
355 return _iswctype_l(c, _DIGIT, locale);
356}

◆ _iswgraph_l()

_Check_return_ _CRTIMP int __cdecl _iswgraph_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 363 of file stubs.c.

366{
367 return _iswctype_l(c, _PUNCT | _ALPHA | _DIGIT, locale);
368}

◆ _iswlower_l()

_Check_return_ _CRTIMP int __cdecl _iswlower_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 375 of file stubs.c.

378{
379 return _iswctype_l(c , _LOWER, locale);
380}

◆ _iswprint_l()

_Check_return_ _CRTIMP int __cdecl _iswprint_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 387 of file stubs.c.

390{
391 return _iswctype_l(c, _BLANK | _PUNCT | _ALPHA | _DIGIT, locale);
392}

◆ _iswpunct_l()

_Check_return_ _CRTIMP int __cdecl _iswpunct_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 399 of file stubs.c.

402{
403 return _iswctype_l(c, _PUNCT, locale);
404}

◆ _iswspace_l()

_Check_return_ _CRTIMP int __cdecl _iswspace_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 411 of file stubs.c.

414{
415 return _iswctype_l(c, _SPACE, locale);
416}

◆ _iswupper_l()

_Check_return_ _CRTIMP int __cdecl _iswupper_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 423 of file stubs.c.

426{
427 return _iswctype_l(c, _UPPER, locale);
428}

◆ _iswxdigit_l()

_Check_return_ _CRTIMP int __cdecl _iswxdigit_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 435 of file stubs.c.

438{
439 return _iswctype_l(c, _HEX, locale);
440}
#define _HEX
Definition: ctype.h:73

◆ _isxdigit_l()

_Check_return_ _CRTIMP int __cdecl _isxdigit_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 447 of file stubs.c.

450{
451 return _ischartype_l(c, _HEX, locale);
452}

◆ _tolower()

◆ _tolower_l()

_Check_return_ _CRTIMP int __cdecl _tolower_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 697 of file stubs.c.

700{
702 return 0;
703}

◆ _toupper()

◆ _toupper_l()

_Check_return_ _CRTIMP int __cdecl _toupper_l ( _In_ int  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 709 of file stubs.c.

712{
714 return 0;
715}

◆ _towlower_l()

_Check_return_ _CRTIMP wint_t __cdecl _towlower_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 602 of file stubs.c.

605{
607 return 0;
608}

◆ _towupper_l()

_Check_return_ _CRTIMP wint_t __cdecl _towupper_l ( _In_ wint_t  _C,
_In_opt_ _locale_t  _Locale 
)

Definition at line 614 of file stubs.c.

617{
619 return 0;
620}

◆ is_wctype()

_CRTIMP int __cdecl is_wctype ( _In_ wint_t  _C,
_In_ wctype_t  _Type 
)

◆ isalnum()

◆ isalpha()

◆ isblank()

int __cdecl isblank ( int  _C)

Definition at line 4 of file isblank.c.

5{
6 return (_isctype(_C, _BLANK) || _C == '\t');
7}
_Check_return_ _CRTIMP int __cdecl _isctype(_In_ int _C, _In_ int _Type)

◆ iscntrl()

◆ isdigit()

◆ isgraph()

◆ isleadbyte()

_Check_return_ _CRTIMP int __cdecl isleadbyte ( _In_ int  _C)

◆ islower()

◆ isprint()

◆ ispunct()

Referenced by _Locale_init(), and UnDosLine().

◆ isspace()

◆ isupper()

◆ iswalnum()

◆ iswalpha()

◆ iswascii()

◆ iswblank()

int __cdecl iswblank ( wint_t  _C)

Definition at line 4 of file iswblank.c.

5{
6 return (iswctype(_C, _BLANK) || _C == '\t');
7}
int __cdecl iswctype(wint_t wc, wctype_t wctypeFlags)
Definition: freeldr.c:99

◆ iswcntrl()

◆ iswctype()

_Check_return_ _CRTIMP int __cdecl iswctype ( _In_ wint_t  _C,
_In_ wctype_t  _Type 
)

◆ iswdigit()

◆ iswgraph()

◆ iswlower()

◆ iswprint()

◆ iswpunct()

◆ iswspace()

◆ iswupper()

◆ iswxdigit()

◆ isxdigit()

◆ tolower()

◆ toupper()

◆ towlower()

◆ towupper()

Variable Documentation

◆ __globallocalestatus

int __globallocalestatus
extern

◆ __initiallocalestructinfo

_locale_tstruct __initiallocalestructinfo
extern

◆ __initiallocinfo

struct threadlocaleinfostruct __initiallocinfo
extern

◆ __locale_changed

int __locale_changed
extern

◆ __newclmap

const unsigned char __newclmap[]
extern

◆ __newcumap

const unsigned char __newcumap[]
extern

◆ __ptlocinfo

pthreadlocinfo __ptlocinfo
extern

◆ __ptmbcinfo

pthreadmbcinfo __ptmbcinfo
extern

◆ _imp____mb_cur_max

int* _imp____mb_cur_max
extern