|
|
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: --*/
15:
16: #ifndef _DIRENT_
17: #define _DIRENT_
18:
19: #include <types.h>
20: #include <limits.h>
21:
1.1.1.2 ! root 22: #ifdef __cplusplus
! 23: extern "C" {
! 24: #endif
! 25:
1.1 root 26: struct dirent {
27: char d_name[NAME_MAX+1];
28: };
29:
30: typedef struct _DIR {
1.1.1.2 ! root 31: int Directory;
! 32: unsigned long Index;
! 33: char RestartScan; /* really BOOLEAN */
1.1 root 34: struct dirent Dirent;
35: } DIR;
36:
37: DIR * _CRTAPI1 opendir(const char *);
38: struct dirent * _CRTAPI1 readdir(DIR *);
39: void _CRTAPI1 rewinddir(DIR *);
40: int _CRTAPI1 closedir(DIR *);
41:
1.1.1.2 ! root 42: #ifdef __cplusplus
! 43: }
! 44: #endif
! 45:
1.1 root 46: #endif /* _DIRENT_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.