Lines Matching defs:to_fd
278 int from_fd, to_fd;
286 if ((to_fd =
296 (void)close(to_fd);
300 if (write(to_fd, bp, nread) != nread) {
319 (void)close(to_fd);
323 if (fcpxattr(from_fd, to_fd) == -1)
345 if (futimens(to_fd, ts))
347 if (futimes(to_fd, tval))
351 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
356 if (fchmod(to_fd, sbp->st_mode))
358 if (fchflags(to_fd, sbp->st_flags) && (errno != EOPNOTSUPP))
361 if (close(to_fd)) {