diff options
Diffstat (limited to 'src/ctype/isascii.c')
-rw-r--r-- | src/ctype/isascii.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ctype/isascii.c b/src/ctype/isascii.c new file mode 100644 index 00000000..3af0a10d --- /dev/null +++ b/src/ctype/isascii.c @@ -0,0 +1,6 @@ +#include <ctype.h> + +int isascii(int c) +{ + return !(c&~0x7f); +} |