1 /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/ctype.h>
5 extern unsigned short _ctype[];
7 unsigned short *_pctype = _ctype + 1;
8 unsigned short *_pwctype = _ctype + 1;
14 unsigned short **__p__pctype(void)
22 unsigned short **__p__pwctype(void)
30 int _isctype(unsigned int c, int ctypeFlags)
32 return (_pctype[(unsigned char)(c & 0xFF)] & ctypeFlags);
38 int iswctype(wint_t wc, wctype_t wctypeFlags)
40 return (_pwctype[(unsigned char)(wc & 0xFF)] & wctypeFlags);
48 int is_wctype(wint_t wc, wctype_t wctypeFlags)
50 return (_pwctype[(unsigned char)(wc & 0xFF)] & wctypeFlags);