Home
last modified time | relevance | path

Searched refs:fts_options (Results 1 – 6 of 6) sorted by relevance

/openbsd/bin/cp/
H A Dcp.c87 int Hflag, Lflag, Pflag, ch, fts_options, r; in main() local
149 fts_options = FTS_NOCHDIR | FTS_PHYSICAL; in main()
157 fts_options &= ~FTS_PHYSICAL; in main()
158 fts_options |= FTS_LOGICAL; in main()
162 fts_options |= FTS_COMFOLLOW; in main()
164 fts_options &= ~FTS_PHYSICAL; in main()
165 fts_options |= FTS_LOGICAL; in main()
168 fts_options &= ~FTS_PHYSICAL; in main()
169 fts_options |= FTS_LOGICAL; in main()
241 return (copy(argv, type, fts_options)); in main()
[all …]
/openbsd/bin/chmod/
H A Dchmod.c64 int Hflag, Lflag, Rflag, ch, fflag, fts_options, hflag, rval, atflags; in main() local
137 fts_options = FTS_PHYSICAL; in main()
143 fts_options |= FTS_COMFOLLOW; in main()
145 fts_options &= ~FTS_PHYSICAL; in main()
146 fts_options |= FTS_LOGICAL; in main()
150 fts_options |= FTS_COMFOLLOW; in main()
215 if ((ftsp = fts_open(++argv, fts_options, 0)) == NULL) in main()
247 if (!hflag && (fts_options & FTS_LOGICAL)) in main()
258 if (fts_options & FTS_COMFOLLOW) { in main()
/openbsd/bin/ls/
H A Dls.c103 int ch, fts_options, notused; in ls_main() local
134 fts_options = FTS_PHYSICAL; in ls_main()
190 fts_options |= FTS_COMFOLLOW; in ls_main()
193 fts_options &= ~FTS_PHYSICAL; in ls_main()
194 fts_options |= FTS_LOGICAL; in ls_main()
203 fts_options |= FTS_SEEDOT; in ls_main()
267 fts_options |= FTS_NOSTAT; in ls_main()
274 fts_options |= FTS_COMFOLLOW; in ls_main()
333 traverse(argc, argv, fts_options); in ls_main()
335 traverse(1, dotav, fts_options); in ls_main()
/openbsd/bin/mv/
H A Dcp.c112 int fts_options, r; in cpmain() local
115 fts_options = FTS_NOCHDIR | FTS_PHYSICAL; in cpmain()
183 return (copy(argv, type, fts_options)); in cpmain()
210 copy(char *argv[], enum op type, int fts_options) in copy() argument
219 if ((ftsp = fts_open(argv, fts_options, NULL)) == NULL) in copy()
/openbsd/include/
H A Dfts.h60 int fts_options; /* fts_open options, global flags */ member
/openbsd/lib/libc/gen/
H A Dfts.c59 #define CLR(opt) (sp->fts_options &= ~(opt))
60 #define ISSET(opt) (sp->fts_options & (opt))
61 #define SET(opt) (sp->fts_options |= (opt))
95 sp->fts_options = options; in fts_open()