Searched refs:fts (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_getcwd.c39 #include <fts.h>
79 FTS *fts; local
98 fts = fts_open(argv, ops, NULL);
100 if (fts == NULL) {
101 str = "failed to initialize fts(3)";
105 while ((ftse = fts_read(fts)) != NULL) {
111 (void)fts_set(fts, ftse, FTS_SKIP);
139 if (fts != NULL)
140 (void)fts_close(fts);
/freebsd-11-stable/usr.sbin/ctm/ctm_dequeue/
H A Dctm_dequeue.c49 #include <fts.h>
69 FTS *fts; local
91 fts = fts_open(list, FTS_PHYSICAL|FTS_COMFOLLOW, fts_sort);
92 if (fts == NULL)
94 err("fts failed on `%s'", queue_dir);
98 ftsent = fts_read(fts);
105 ftsent = fts_children(fts, 0);
155 fts_close(fts);
/freebsd-11-stable/lib/libc/gen/
H A Dfts-compat.h29 * @(#)fts.h 8.3 (Berkeley) 8/14/94
125 #define fts_get_clientptr(fts) ((fts)->fts_clientptr)
H A DMakefile.inc51 fts.c \
149 SRCS+= fts-compat.c \
204 fts.3 \
354 MLINKS+=fts.3 fts_children.3 \
355 fts.3 fts_close.3 \
356 fts.3 fts_open.3 \
357 fts.3 fts_read.3 \
358 fts.3 fts_set.3 \
359 fts.3 fts_set_clientptr.3 \
360 fts
[all...]
H A Dftw.c29 #include <fts.h>
H A Dnftw.c29 #include <fts.h>
/freebsd-11-stable/contrib/mdocml/
H A Dtest-fts.c3 #include <fts.h>
H A Dconfigure254 if ismanual fts FTS ${HAVE_FTS}; then
256 elif runtest fts FTS_COMPARE_CONST -DFTS_COMPARE_CONST; then
259 runtest fts FTS || true
/freebsd-11-stable/include/
H A Dfts.h29 * @(#)fts.h 8.3 (Berkeley) 8/14/94
126 #define fts_get_clientptr(fts) ((fts)->fts_clientptr)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_stat.c44 #include <fts.h>
98 FTS *fts; local
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);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_leapsec.c954 struct calendar fts; local
967 ntpcal_ntp64_to_date(&fts, now64);
971 if (fts.monthday == 1 && fts.hour == 0) {
977 fts.monthday = 1;
978 fts.hour = 0;
979 fts.minute = 0;
980 fts.second = 0;
981 starttime = ntpcal_date_to_ntp64(&fts);
982 fts
1006 struct calendar fts; local
[all...]
/freebsd-11-stable/usr.sbin/setfmac/
H A Dsetfmac.c44 #include <fts.h>
86 FTS *fts; local
142 fts = fts_open(argv, hflag | xflag, NULL);
143 if (fts == NULL)
145 while ((ftsent = fts_read(fts)) != NULL) {
153 fts_set(fts, ftsent, FTS_SKIP);
167 fts_set(fts, ftsent, FTS_SKIP);
179 fts_close(fts);
/freebsd-11-stable/contrib/mtree/
H A Dextern.h43 #include <fts.h>
/freebsd-11-stable/usr.sbin/fmtree/
H A Dexcludes.c39 #include <fts.h>
H A Dmisc.c41 #include <fts.h>
H A Dmtree.c48 #include <fts.h>
/freebsd-11-stable/bin/rm/
H A Drm.c51 #include <fts.h>
181 FTS *fts; local
206 if (!(fts = fts_open(argv, flags, NULL))) {
211 while ((p = fts_read(fts)) != NULL) {
239 (void)fts_set(fts, p, FTS_SKIP);
342 fts_close(fts);
/freebsd-11-stable/usr.bin/find/
H A Dmain.c54 #include <fts.h>
H A Dmisc.c48 #include <fts.h>
H A Dls.c44 #include <fts.h>
H A Dfind.c48 #include <fts.h>
/freebsd-11-stable/usr.bin/du/
H A Ddu.c53 #include <fts.h>
97 FTS *fts; local
218 * Because of the way that fts(3) works, logical walks will not count
266 if ((fts = fts_open(argv, ftsoptions, NULL)) == NULL)
269 while ((p = fts_read(fts)) != NULL) {
273 fts_set(fts, p, FTS_SKIP);
/freebsd-11-stable/usr.bin/grep/
H A Dutil.c45 #include <fts.h>
134 FTS *fts; local
156 fts = fts_open((argv[0] == NULL) ?
158 if (fts == NULL)
160 while ((p = fts_read(fts)) != NULL) {
175 fts_set(fts, p, FTS_SKIP);
194 fts_close(fts);
/freebsd-11-stable/bin/chflags/
H A Dchflags.c51 #include <fts.h>
/freebsd-11-stable/usr.sbin/asf/
H A Dasf.c39 #include <fts.h>
194 FTS *fts; local
200 /* Have to fts once per suffix to find preferred suffixes first */
203 fts = fts_open(path_argv, FTS_PHYSICAL | FTS_NOCHDIR, NULL);
204 if (fts == NULL)
206 while ((ftsent = fts_read(fts)) != NULL) {
232 /* Optimization: stop fts as soon as seen all loaded modules */
234 fts_close(fts);
241 fts_close(fts);

Completed in 173 milliseconds

123