diff options
Diffstat (limited to 'src/include/port/win32_msvc/dirent.h')
-rw-r--r-- | src/include/port/win32_msvc/dirent.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/include/port/win32_msvc/dirent.h b/src/include/port/win32_msvc/dirent.h new file mode 100644 index 0000000..9fabdf3 --- /dev/null +++ b/src/include/port/win32_msvc/dirent.h @@ -0,0 +1,23 @@ +/* + * Headers for port/dirent.c, win32 native implementation of dirent functions + * + * src/include/port/win32_msvc/dirent.h + */ + +#ifndef _WIN32VC_DIRENT_H +#define _WIN32VC_DIRENT_H +struct dirent +{ + long d_ino; + unsigned short d_reclen; + unsigned short d_namlen; + char d_name[MAX_PATH]; +}; + +typedef struct DIR DIR; + +DIR *opendir(const char *); +struct dirent *readdir(DIR *); +int closedir(DIR *); + +#endif |