2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: msvcrt/ctype/isctype.c
6 * PROGRAMMER: Copyright (C) 1995 DJ Delorie
9 #include <msvcrt/ctype.h>
12 extern unsigned short _ctype
[];
14 unsigned short *_pctype
= _ctype
+ 1;
15 unsigned short *_pwctype
= _ctype
+ 1;
21 unsigned short **__p__pctype(void)
29 unsigned short **__p__pwctype(void)
37 int _isctype(unsigned int c
, int ctypeFlags
)
39 return (_pctype
[(unsigned char)(c
& 0xFF)] & ctypeFlags
);
45 int iswctype(wint_t wc
, wctype_t wctypeFlags
)
47 return (_pwctype
[(unsigned char)(wc
& 0xFF)] & wctypeFlags
);
55 int is_wctype(wint_t wc
, wctype_t wctypeFlags
)
57 return (_pwctype
[(unsigned char)(wc
& 0xFF)] & wctypeFlags
);