HomeSort by: relevance | last modified time | path
    Searched defs:fts (Results 1 - 8 of 8) sorted by relevancy

  /src/tests/lib/libc/gen/
t_getcwd.c 39 #include <fts.h>
77 FTS *fts; local in function:ATF_TC_BODY
96 fts = fts_open(argv, ops, NULL);
98 if (fts == NULL) {
99 str = "failed to initialize fts(3)";
103 while ((ftse = fts_read(fts)) != NULL) {
109 (void)fts_set(fts, ftse, FTS_SKIP);
137 if (fts != NULL)
138 (void)fts_close(fts);
    [all...]
  /src/tests/lib/libc/sys/
t_stat.c 44 #include <fts.h>
98 FTS *fts; local in function:ATF_TC_BODY
107 fts = fts_open(argv, ops, NULL);
108 ATF_REQUIRE(fts != NULL);
110 while ((ftse = fts_read(fts)) != NULL) {
116 (void)fts_set(fts, ftse, FTS_SKIP);
139 * Check that fts(3)'s stat(2)
143 atf_tc_fail("stat(2) and fts(3) differ");
152 (void)fts_close(fts);
    [all...]
  /src/usr.bin/grep/
util.c 46 #include <fts.h>
115 FTS *fts; local in function:grep_tree
137 if (!(fts = fts_open(argv, fts_flags, NULL)))
139 while ((p = fts_read(fts)) != NULL) {
179 fts_close(fts);
  /src/usr.bin/du/
du.c 56 #include <fts.h>
78 FTS *fts; local in function:main
156 * Because of the way that fts(3) works, logical walks will not count
194 if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL)
197 for (rval = 0; (p = fts_read(fts)) != NULL;) {
206 fts_set(fts, p, FTS_SKIP);
  /src/bin/rm/
rm.c 53 #include <fts.h>
161 FTS *fts; local in function:rm_tree
184 if ((fts = fts_open(argv, flags, NULL)) == NULL)
186 while ((p = fts_read(fts)) != NULL) {
218 (void)fts_set(fts, p, FTS_SKIP);
273 fts_close(fts);
  /src/libexec/makewhatis/
makewhatis.c 53 #include <fts.h>
246 FTS *fts; local in function:makewhatis
255 if ((fts = fts_open(manpath, FTS_LOGICAL, NULL)) == NULL)
259 while ((fe = fts_read(fts)) != NULL) {
323 errx(EXIT_FAILURE, "Unknown info %d returned from fts "
328 (void)fts_close(fts);
  /src/usr.sbin/installboot/
evboards.c 48 #include <fts.h>
500 * them into the array we feed to fts. This is because we always
829 FTS *fts; local in function:evb_db_load_overlays
839 fts = fts_open(paths, FTS_COMFOLLOW | FTS_LOGICAL | FTS_NOCHDIR, NULL);
840 if (fts == NULL ||
841 (chp = fts_children(fts, 0)) == NULL) {
843 if (fts != NULL)
844 fts_close(fts);
848 chp = fts_children(fts, 0)
    [all...]
  /src/usr.bin/gzip/
gzip.c 66 #include <fts.h>
2053 FTS *fts; local in function:handle_dir
2058 fts = fts_open(path_argv, FTS_PHYSICAL | FTS_NOCHDIR, NULL);
2059 if (fts == NULL) {
2064 while ((entry = fts_read(fts))) {
2079 (void)fts_close(fts);

Completed in 70 milliseconds