4 #if 0 /* libc5 definition */
5 struct dirent /* data from getdents()/readdir() */
7 long d_ino; /* inode number of entry */
8 off_t d_off; /* offset of disk directory entry */
9 unsigned short d_reclen; /* length of this record */
10 char d_name[255+1]; /* name of file */ /* non-POSIX */
13 #else /* libc6 definition */
14 struct dirent /* data from getdents()/readdir() */
16 long d_ino; /* inode number of entry */
17 off_t d_off; /* offset of disk directory entry */
18 unsigned short d_reclen; /* length of this record */
19 unsigned char d_type; /* libc6 extension */
20 char d_name[255+1]; /* name of file */ /* non-POSIX */
25 #endif /* _SYS_DIRENTH */