2012-02-26 04:18:39 +00:00
|
|
|
#if !defined ISO && !defined ISO99 && !defined ISO11
|
1999-08-24 17:55:34 +00:00
|
|
|
type DIR
|
|
|
|
|
|
|
|
type {struct dirent}
|
|
|
|
|
2010-01-09 18:56:41 +00:00
|
|
|
# if !defined POSIX && !defined POSIX2008
|
1999-08-24 17:55:34 +00:00
|
|
|
element {struct dirent} ino_t d_ino
|
2010-01-09 18:56:41 +00:00
|
|
|
# endif
|
1999-08-24 17:55:34 +00:00
|
|
|
element {struct dirent} char d_name []
|
|
|
|
|
2010-01-13 04:11:10 +00:00
|
|
|
# if !defined POSIX && !defined POSIX2008
|
1999-08-24 17:55:34 +00:00
|
|
|
type ino_t
|
2010-01-13 04:11:10 +00:00
|
|
|
#endif
|
1999-08-24 17:55:34 +00:00
|
|
|
|
|
|
|
function int closedir (DIR*)
|
1999-08-24 20:40:44 +00:00
|
|
|
function {DIR*} opendir (const char*)
|
1999-08-24 17:55:34 +00:00
|
|
|
function {struct dirent*} readdir (DIR*)
|
|
|
|
function int readdir_r (DIR*, struct dirent*, struct dirent**)
|
|
|
|
function void rewinddir (DIR*)
|
2010-01-09 18:56:41 +00:00
|
|
|
# if !defined POSIX && !defined POSIX2008
|
1999-08-24 17:55:34 +00:00
|
|
|
function void seekdir (DIR*, long int)
|
|
|
|
function {long int} telldir (DIR*)
|
2010-01-09 18:56:41 +00:00
|
|
|
# endif
|
1999-08-24 17:55:34 +00:00
|
|
|
|
|
|
|
allow d_*
|
1999-08-24 20:40:44 +00:00
|
|
|
allow *_t
|
2010-01-09 18:56:41 +00:00
|
|
|
|
|
|
|
# if defined XOPEN2K8 || defined POSIX2008
|
|
|
|
function int alphasort (const struct dirent**, const struct dirent**)
|
|
|
|
function int dirfd (DIR*)
|
|
|
|
function int scandir (const char*, struct dirent***, int(*)(const struct dirent*), int(*)(const struct dirent**,const struct dirent **))
|
|
|
|
function {DIR*} fdopendir (int)
|
|
|
|
# endif
|
1999-08-24 17:55:34 +00:00
|
|
|
#endif
|