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

char buf[64]; size_t nr; nr = fread (buf, sizeof(buf), 1, stream); if (nr == 0) /* error */

From

Cover of Linux System Programming

Note

fread - reading binary data of specific controlled size