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

while(read(fd, (char *)&dir, sizeof dir)

From

Cover of Linux® Programming by Example

Note

reading binary data from opened dir