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

char buf[LINE_MAX]; if (!fgets (buf, LINE_MAX, stream)) /* error */

From

Cover of Linux System Programming

Note

reading multiple characters at a time