#include int isascii(int c) { return (c & 0x80) == 0; }