7 #ifdef FTS_COMPARE_CONST
8 int fts_compare(const FTSENT *const *, const FTSENT *const *);
10 int fts_compare(const FTSENT **, const FTSENT **);
21 argv[1] = (char *)NULL;
23 ftsp = fts_open((char * const *)argv,
24 FTS_PHYSICAL | FTS_NOCHDIR, fts_compare);
31 entry = fts_read(ftsp);
38 if (fts_set(ftsp, entry, FTS_SKIP) != 0) {
43 if (fts_close(ftsp) != 0) {
52 #ifdef FTS_COMPARE_CONST
53 fts_compare(const FTSENT *const *a, const FTSENT *const *b)
55 fts_compare(const FTSENT **a, const FTSENT **b)
58 return strcmp((*a)->fts_name, (*b)->fts_name);