528 /* * The dirent structure defines the format of directory entries returned by * the getdents(2) system call. * * A directory entry has a struct dirent at the front of it, containing its * inode number, the length of the entry, and the length of the name * contained in the entry. These are followed by the name padded to * _DIRENT_ALIGN() byte boundary with null bytes. All names are guaranteed * NUL terminated. The maximum length of a name in a directory is MAXNAMLEN. */