Searched refs:tofd (Results 1 – 1 of 1) sorted by relevance
76 int fromfd, tofd; in copyfile_mode_ns() local100 tofd = mkstemp(tmp); in copyfile_mode_ns()101 if (tofd < 0) in copyfile_mode_ns()106 if (!err && fchmod(tofd, mode)) in copyfile_mode_ns()111 if (fchmod(tofd, mode)) in copyfile_mode_ns()120 err = copyfile_offset(fromfd, 0, tofd, 0, st.st_size); in copyfile_mode_ns()124 close(tofd); in copyfile_mode_ns()