4 typedef struct DIR DIR;
12 char d_name[FILENAME_MAX]; /* File name. */
14 unsigned short d_reclen; /* Always zero. */
15 unsigned char d_type; /* Reimplementation adds this */
19 DIR *opendir(const char *dirname);
20 struct dirent *readdir(DIR *dir);
21 int closedir(DIR *dir);