Win32 dirent: remove unused dirent.d_ino member
[git/dscho.git] / compat / win32 / dirent.h
blobb38973b051a4ac79e45ff61a9755b491193b3089
1 #ifndef DIRENT_H
2 #define DIRENT_H
4 typedef struct DIR DIR;
6 #define DT_UNKNOWN 0
7 #define DT_DIR 1
8 #define DT_REG 2
9 #define DT_LNK 3
11 struct dirent {
12 char d_name[FILENAME_MAX]; /* File name. */
13 union {
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);
23 #endif /* DIRENT_H */