| 1 | #ifndef _FTS_H |
| 2 | #include <io/fts.h> |
| 3 | |
| 4 | #ifndef _ISOMAC |
| 5 | # if __TIMESIZE != 64 |
| 6 | # include <sys/stat.h> |
| 7 | |
| 8 | typedef struct |
| 9 | { |
| 10 | struct _ftsent64_time64 *fts_cur; |
| 11 | struct _ftsent64_time64 *fts_child; |
| 12 | struct _ftsent64_time64 **fts_array; |
| 13 | dev_t fts_dev; |
| 14 | char *fts_path; |
| 15 | int fts_rfd; |
| 16 | int fts_pathlen; |
| 17 | int fts_nitems; |
| 18 | int (*fts_compar) (const void *, const void *); |
| 19 | int fts_options; |
| 20 | } FTS64_TIME64; |
| 21 | |
| 22 | typedef struct _ftsent64_time64 |
| 23 | { |
| 24 | struct _ftsent64_time64 *fts_cycle; |
| 25 | struct _ftsent64_time64 *fts_parent; |
| 26 | struct _ftsent64_time64 *fts_link; |
| 27 | long fts_number; |
| 28 | void *fts_pointer; |
| 29 | char *fts_accpath; |
| 30 | char *fts_path; |
| 31 | int fts_errno; |
| 32 | int fts_symfd; |
| 33 | unsigned short fts_pathlen; |
| 34 | unsigned short fts_namelen; |
| 35 | |
| 36 | ino64_t fts_ino; |
| 37 | dev_t fts_dev; |
| 38 | nlink_t fts_nlink; |
| 39 | |
| 40 | short fts_level; |
| 41 | unsigned short fts_info; |
| 42 | unsigned short fts_flags; |
| 43 | unsigned short fts_instr; |
| 44 | |
| 45 | struct __stat64_t64 *fts_statp; |
| 46 | char fts_name[1]; |
| 47 | } FSTENT64_TIME64; |
| 48 | |
| 49 | # endif |
| 50 | #endif |
| 51 | |
| 52 | #endif /* _FTS_H */ |
| 53 | |