1 #define _DIRENT_HAVE_D_RECLEN 2 #define _DIRENT_HAVE_D_OFF 3 #define _DIRENT_HAVE_D_TYPE 4 5 struct dirent { 6 ino_t d_ino; 7 off_t d_off; 8 unsigned short d_reclen; 9 unsigned char d_type; 10 char d_name[256]; 11 }; 12