Home
last modified time | relevance | path

Searched refs:walkflags (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/find/
H A Dfind.c236 static int walkflags = FTW_CHDIR|FTW_PHYS|FTW_ANYERR|FTW_NOLOOP; variable
327 walkflags &= ~FTW_PHYS; in main()
372 walkflags &= ~FTW_HOPTION; in main()
374 walkflags |= FTW_HOPTION; in main()
383 if ((errno == EACCES) && (walkflags & FTW_CHDIR)) { in main()
389 walkflags &= ~FTW_CHDIR; in main()
401 if (nftw(curpath, execute, 1000, walkflags)) { in main()
535 walkflags &= ~FTW_PHYS; in compile()
538 walkflags |= FTW_MOUNT; in compile()
541 walkflags |= FTW_DEPTH; in compile()
[all …]
/illumos-gate/usr/src/cmd/grep/
H A Dgrep.c544 int walkflags = FTW_CHDIR; in process_path() local
568 walkflags |= FTW_PHYS; in process_path()
570 if (nftw(path, recursive, MAX_DEPTH, walkflags) != 0) { in process_path()