so that it works with compilers that default to unsigned chars Note: getc() and ungetc() are prototyped to use ints rather than chars.