

isascii()             ctype Macro (ctype.h)             isascii()




Check if a character is an ASCII character

#iinncclluuddee <ccttyyppee.hh>
iinntt iissaasscciiii(_c) iinntt _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


