isascii Function (Macro)

ctype.h

short isascii (short c);

Checks whether a character is an ASCII character.

isascii returns nonzero if c is in the range 0 to 127 (0x00-0x7F), otherwise it returns zero. It is a simple macro.