dirent.h 411 B

1234567891011121314151617181920212223
  1. /*
  2. * Headers for port/dirent.c, win32 native implementation of dirent functions
  3. *
  4. * src/include/port/win32_msvc/dirent.h
  5. */
  6. #ifndef _WIN32VC_DIRENT_H
  7. #define _WIN32VC_DIRENT_H
  8. struct dirent
  9. {
  10. long d_ino;
  11. unsigned short d_reclen;
  12. unsigned short d_namlen;
  13. char d_name[MAX_PATH];
  14. };
  15. typedef struct DIR DIR;
  16. DIR *opendir(const char *);
  17. struct dirent *readdir(DIR *);
  18. int closedir(DIR *);
  19. #endif