isascii() ctype Macro (ctype.h) isascii() Check if a character is an ASCII character #include <ctype.h> int isascii(c) int c; isascii tests whether the argument c is an ASCII character (0 <= c <= 0177). It returns a number other than zero if c is an ASCII character, and zero if it is not. Many other ctype macros will fail if passed a non-ASCII value other than EOF. ***** Example ***** For an example of how to use this macro, see the entry for ctype. ***** See Also ***** ASCII, ctype COHERENT Lexicon Page 1