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_dll = _ctype + 1;
8 unsigned short *_pwctype_dll = _ctype + 1;
14 * this function is now forwarded to MSVCRT._isctype to reduce code duplication
17 int _isctype(unsigned int c, int ctypeFlags)
19 return (_pctype_dll[(unsigned char)(c & 0xFF)] & ctypeFlags);
26 * this function is now forwarded to MSVCRT.iswctype to reduce code duplication
29 int iswctype(wint_t wc, wctype_t wctypeFlags)
31 return (_pwctype_dll[(unsigned char)(wc & 0xFF)] & wctypeFlags);
39 * this function is now forwarded to MSVCRT.is_wctype to reduce code duplication
42 int is_wctype(wint_t wc, wctype_t wctypeFlags)
44 return (_pwctype_dll[(unsigned char)(wc & 0xFF)] & wctypeFlags);