Searched refs:FTS_NOCHDIR (Results 1 – 8 of 8) sorted by relevance
62 #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))124 SET(FTS_NOCHDIR); in fts_open()194 if (!ISSET(FTS_NOCHDIR) && (sp->fts_rfd = open(".", O_RDONLY, 0)) < 0) in fts_open()195 SET(FTS_NOCHDIR); in fts_open()258 if (!ISSET(FTS_NOCHDIR)) { in fts_close()264 if (!ISSET(FTS_NOCHDIR) && saved_errno) { in fts_close()318 if (p->fts_info == FTS_D && !ISSET(FTS_NOCHDIR)) { in fts_read()407 if (p->fts_info == FTS_D && !ISSET(FTS_NOCHDIR)) { in fts_read()545 ISSET(FTS_NOCHDIR)) in fts_children()663 if (ISSET(FTS_NOCHDIR)) { in fts_build()[all …]
52 ftsp = fts_open(paths, FTS_LOGICAL | FTS_COMFOLLOW | FTS_NOCHDIR, NULL); in ftw()
55 ftsflags |= FTS_NOCHDIR; in nftw()
53 #define FTS_NOCHDIR 0x0004 /* don't change directories */ macro
98 ftsopts = FTS_NOCHDIR; in ftree_start()
143 fts_options = FTS_NOCHDIR | FTS_PHYSICAL; in main()
73 fts_flags |= FTS_NOSTAT | FTS_NOCHDIR; in grep_tree()
318 if ((ftsp = fts_open(argv, FTS_PHYSICAL|FTS_NOCHDIR, 0)) == NULL) in main()