codekingpro/portable-devtools
114k
1/*2 * Headers for port/dirent.c, win32 native implementation of dirent functions3 *4 * src/include/port/win32_msvc/dirent.h5 */6 7#ifndef _WIN32VC_DIRENT_H8#define _WIN32VC_DIRENT_H9struct dirent10{11 long d_ino;12 unsigned short d_reclen;13 unsigned char d_type;14 unsigned short d_namlen;15 char d_name[MAX_PATH];16};17 18typedef struct DIR DIR;19 20DIR *opendir(const char *);21struct dirent *readdir(DIR *);22int closedir(DIR *);23 24/* File types for 'd_type'. */25#define DT_UNKNOWN 026#define DT_FIFO 127#define DT_CHR 228#define DT_DIR 429#define DT_BLK 630#define DT_REG 831#define DT_LNK 1032#define DT_SOCK 1233#define DT_WHT 1434#endif35 