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