source:
trunk/src/emx/include/dirent.h@
150
Last change on this file since 150 was 18, checked in by , 22 years ago | |
---|---|
|
|
File size: 715 bytes |
Line | |
---|---|
1 | /* dirent.h (emx+gcc) */ |
2 | |
3 | #ifndef _DIRENT_H |
4 | #define _DIRENT_H |
5 | |
6 | #if !defined (_SYS_TYPES_H) |
7 | #warning <dirent.h> requires <sys/types.h> |
8 | #include <sys/types.h> |
9 | #endif |
10 | |
11 | #include <sys/dirent.h> |
12 | |
13 | #if defined (__cplusplus) |
14 | extern "C" { |
15 | #endif |
16 | |
17 | struct _dirdesc; |
18 | |
19 | typedef struct _dirdesc DIR; |
20 | |
21 | DIR *opendir (__const__ char *); |
22 | struct dirent *readdir (DIR *); |
23 | int closedir (DIR *); |
24 | void rewinddir (DIR *); |
25 | |
26 | #if !defined (_POSIX_SOURCE) |
27 | void seekdir (DIR *, long); |
28 | long telldir (DIR *); |
29 | #endif |
30 | |
31 | DIR *_opendir (__const__ char *); |
32 | struct dirent *_readdir (DIR *); |
33 | void _seekdir (DIR *, long); |
34 | long _telldir (DIR *); |
35 | int _closedir (DIR *); |
36 | void _rewinddir (DIR *); |
37 | |
38 | #if defined (__cplusplus) |
39 | } |
40 | #endif |
41 | |
42 | #endif /* not _DIRENT_H */ |
Note:
See TracBrowser
for help on using the repository browser.