Searched refs:FTS_NOCHDIR (Results 1 – 5 of 5) sorted by relevance
66 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))88 SET(FTS_NOCHDIR); in __fts_open()161 if (!ISSET(FTS_NOCHDIR) && (sp->fts_rfd = open(".", O_RDONLY|O_CLOEXEC, 0)) < 0) in __fts_open()162 SET(FTS_NOCHDIR); in __fts_open()221 rfd = ISSET(FTS_NOCHDIR) ? -1 : sp->fts_rfd; in fts_close()283 if (p->fts_info == FTS_D && !ISSET(FTS_NOCHDIR)) { in fts_read()372 if (p->fts_info == FTS_D && !ISSET(FTS_NOCHDIR)) { in fts_read()508 ISSET(FTS_NOCHDIR)) in fts_children()625 if (ISSET(FTS_NOCHDIR)) { in fts_build()668 if (ISSET(FTS_NOCHDIR)) in fts_build()[all …]
42 int fts_options = FTS_LOGICAL | FTS_COMFOLLOW | FTS_NOCHDIR; in do_nftw()45 if (!(nftw_flags & FTW_CHDIR)) fts_options |= FTS_NOCHDIR; in do_nftw()
46 fts_open(dir_argv, FTS_LOGICAL | FTS_NOCHDIR, nullptr), fts_close); in collectHeaders()
40 fts_open(paths, FTS_COMFOLLOW | FTS_LOGICAL | FTS_NOCHDIR, nullptr), fts_close); in addDirectoryToVFS()
54 #define FTS_NOCHDIR 0x0004 /* don't change directories */ macro