FTS Struct Reference

## Data Fields

struct _ftsent * | fts_cur
struct _ftsent * | fts_child
struct _ftsent ** | 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 *)
DIR *(* | fts_opendir )(const char *path)
struct dirent *(* | fts_readdir )(DIR *dir)
int(* | fts_closedir )(DIR *dir)
int(* | fts_stat )(const char *path, struct stat *st)
int(* | fts_lstat )(const char *path, struct stat *st)
int | fts_options

## Field Documentation

struct _ftsent** FTS::fts_array

sort array

struct _ftsent* FTS::fts_child

linked list of children

int(* FTS::fts_compar)(const void *, const void *)

compare fn

struct _ftsent* FTS::fts_cur

current node

dev_t FTS::fts_dev

starting device #

int FTS::fts_nitems

elements in the sort array

int FTS::fts_options

fts_open options, global flags

char* FTS::fts_path

path for this descent

int FTS::fts_pathlen

sizeof(path)

int FTS::fts_rfd

fd for root

The documentation for this struct was generated from the following file:

- fts_sun.h