|
|
1.1 ! root 1: /*++ ! 2: ! 3: Copyright (c) 1989 Microsoft Corporation ! 4: ! 5: Module Name: ! 6: ! 7: dirent.h ! 8: ! 9: Abstract: ! 10: ! 11: This module contains the directory entry procedure ! 12: prototypes ! 13: ! 14: Author: ! 15: ! 16: Mark Lucovsky (markl) 17-Oct-1989 ! 17: ! 18: Revision History: ! 19: ! 20: --*/ ! 21: ! 22: #ifndef _DIRENT_ ! 23: #define _DIRENT_ ! 24: ! 25: #include <types.h> ! 26: #include <limits.h> ! 27: ! 28: struct dirent { ! 29: char d_name[NAME_MAX+1]; ! 30: }; ! 31: ! 32: typedef struct _DIR { ! 33: void *Directory; ! 34: unsigned long ReservedForIndex; ! 35: char RestartScan; /* really BOOLEAN */ ! 36: struct dirent Dirent; ! 37: } DIR; ! 38: ! 39: DIR * _CRTAPI1 opendir(const char *); ! 40: struct dirent * _CRTAPI1 readdir(DIR *); ! 41: void _CRTAPI1 rewinddir(DIR *); ! 42: int _CRTAPI1 closedir(DIR *); ! 43: ! 44: #endif /* _DIRENT_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.