4 typedef struct DIR DIR;
12 unsigned char d_type; /* file type to prevent lstat after readdir */
13 char d_name[MAX_PATH * 3]; /* file name (* 3 for UTF-8 conversion) */
16 DIR *opendir(const char *dirname);
17 struct dirent *readdir(DIR *dir);
18 int closedir(DIR *dir);