Searched refs:newfd (Results 1 – 3 of 3) sorted by relevance
67 __u32 newfd; member
1024 int ret, oerrno, newfd; in fts_safe_changedir() local1027 newfd = fd; in fts_safe_changedir()1030 if (fd == -1 && (newfd = open(path, O_RDONLY|O_DIRECTORY|O_CLOEXEC)) == -1) in fts_safe_changedir()1032 if (fstat(newfd, &sb) == -1) { in fts_safe_changedir()1041 ret = fchdir(newfd); in fts_safe_changedir()1045 (void)close(newfd); in fts_safe_changedir()
52 int dup2(int oldfd, int newfd) lp32