822ee3c906f159e372e0de3167f675b0d0c58b1c
[reactos.git] / reactos / lib / crtdll / ctype / isascii.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/crtdll/ctype/isascii.c
5 * PURPOSE: Checks if a character is ascii
6 * PROGRAMER: Boudewijn Dekker
7 * UPDATE HISTORY:
8 * 28/12/98: Created
9 */
10
11 #include <msvcrt/ctype.h>
12
13 int __isascii(int c)
14 {
15 return (!((c)&(~0x7f))) ;
16 }
17
18 int iswascii(wint_t c)
19 {
20 return __isascii(c);
21 }