]> git.ipfire.org Git - thirdparty/glibc.git/blame - conform/data/dirent.h-data
First steps to get conformtest fully working
[thirdparty/glibc.git] / conform / data / dirent.h-data
CommitLineData
31341567 1#if !defined ISO && !defined ISO99 && !defined ISO11
da1067a9
UD
2type DIR
3
4type {struct dirent}
5
f095bb72 6# if !defined POSIX && !defined POSIX2008
da1067a9 7element {struct dirent} ino_t d_ino
f095bb72 8# endif
da1067a9
UD
9element {struct dirent} char d_name []
10
2e3e1b33 11# if !defined POSIX && !defined POSIX2008
da1067a9 12type ino_t
2e3e1b33 13#endif
da1067a9
UD
14
15function int closedir (DIR*)
52cf7d34 16function {DIR*} opendir (const char*)
da1067a9
UD
17function {struct dirent*} readdir (DIR*)
18function int readdir_r (DIR*, struct dirent*, struct dirent**)
19function void rewinddir (DIR*)
f095bb72 20# if !defined POSIX && !defined POSIX2008
da1067a9
UD
21function void seekdir (DIR*, long int)
22function {long int} telldir (DIR*)
f095bb72 23# endif
da1067a9
UD
24
25allow d_*
52cf7d34 26allow *_t
f095bb72
UD
27
28# if defined XOPEN2K8 || defined POSIX2008
29function int alphasort (const struct dirent**, const struct dirent**)
30function int dirfd (DIR*)
31function int scandir (const char*, struct dirent***, int(*)(const struct dirent*), int(*)(const struct dirent**,const struct dirent **))
32function {DIR*} fdopendir (int)
33# endif
da1067a9 34#endif