1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
2# ifndef XPG4
3type {struct FTW}
4element {struct FTW} int base
5element {struct FTW} int level
6# endif
7
8macro FTW_F
9macro FTW_D
10macro FTW_DNR
11# if !defined XPG4 && !defined XPG42
12macro FTW_DP
13# endif
14macro FTW_NS
15
16# ifndef XPG4
17macro FTW_SL
18macro FTW_SLN
19
20macro FTW_PHYS
21macro FTW_MOUNT
22macro FTW_DEPTH
23macro FTW_CHDIR
24# endif
25
26function int ftw (const char*, int (*) (const char *, const struct stat*, int), int)
27# ifndef XPG4
28function int nftw (const char*, int (*) (const char *, const struct stat*, int, struct FTW *), int, int)
29# endif
30
31allow-header sys/stat.h
32
33allow *_t
34allow FTW*
35#endif
36