source: trunk/src/emx/include/dirent.h@ 150

Last change on this file since 150 was 18, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
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)
14extern "C" {
15#endif
16
17struct _dirdesc;
18
19typedef struct _dirdesc DIR;
20
21DIR *opendir (__const__ char *);
22struct dirent *readdir (DIR *);
23int closedir (DIR *);
24void rewinddir (DIR *);
25
26#if !defined (_POSIX_SOURCE)
27void seekdir (DIR *, long);
28long telldir (DIR *);
29#endif
30
31DIR *_opendir (__const__ char *);
32struct dirent *_readdir (DIR *);
33void _seekdir (DIR *, long);
34long _telldir (DIR *);
35int _closedir (DIR *);
36void _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.