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

Directory entries are represented by a struct dirent (not the same as the V7 struct direct!):

struct dirent {
    ino_t d_ino;            /* XSI extension --- see text */
    char  d_name[...];      /* See text on the size of this array */


Cover of Linux® Programming by Example


directory reading