Searched refs:fts (Results 1 – 3 of 3) sorted by relevance
78 FTS *fts; in main() local194 if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL) in main()197 for (rval = 0; (p = fts_read(fts)) != NULL;) { in main()207 fts_set(fts, p, FTS_SKIP); in main()
115 FTS *fts; in grep_tree() local137 if (!(fts = fts_open(argv, fts_flags, NULL))) in grep_tree()139 while ((p = fts_read(fts)) != NULL) { in grep_tree()179 fts_close(fts); in grep_tree()
1228 FTS *fts = fts_open(paths, FTS_PHYSICAL | FTS_NOCHDIR | FTS_XDEV, NULL); in fixupAsecPermissions() local1229 if (fts) { in fixupAsecPermissions()1231 for (FTSENT *ftsent = fts_read(fts); ftsent != NULL; ftsent = fts_read(fts)) { in fixupAsecPermissions()1266 fts_close(fts); in fixupAsecPermissions()