aboutsummaryrefslogtreecommitdiff
path: root/include/fts.h
blob: ea36a9b9be29f88a63987d654abcc83ca0d51a58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#ifndef _FTS_H
#include <io/fts.h>

#ifndef _ISOMAC
# if __TIMESIZE != 64
#  include <sys/stat.h>

typedef struct
{
  struct _ftsent64_time64 *fts_cur;
  struct _ftsent64_time64 *fts_child;
  struct _ftsent64_time64 **fts_array;
  dev_t fts_dev;
  char *fts_path;
  int fts_rfd;
  int fts_pathlen;
  int fts_nitems;
  int (*fts_compar) (const void *, const void *);
  int fts_options;
} FTS64_TIME64;

typedef struct _ftsent64_time64
{
  struct _ftsent64_time64 *fts_cycle;
  struct _ftsent64_time64 *fts_parent;
  struct _ftsent64_time64 *fts_link;
  long fts_number;
  void *fts_pointer;
  char *fts_accpath;
  char *fts_path;
  int fts_errno;
  int fts_symfd;
  unsigned short fts_pathlen;
  unsigned short fts_namelen;

  ino64_t fts_ino;
  dev_t fts_dev;
  nlink_t fts_nlink;

  short fts_level;
  unsigned short fts_info;
  unsigned short fts_flags;
  unsigned short fts_instr;

  struct __stat64_t64 *fts_statp;
  char fts_name[1];
} FSTENT64_TIME64;

# endif
#endif

#endif /* _FTS_H  */