O'Reilly logo
  • Ivan Petrov thinks this is interesting:

int c; c = fgetc (stream); if (c == EOF) /* error */ else printf ("c=%c\n", (char) c);

From

Cover of Linux System Programming

Note

reading a char at a time from a stream!