Lines Matching refs:to_fd
261 int nread, from_fd, to_fd;
267 if ((to_fd =
277 (void)close(to_fd);
281 if (write(to_fd, bp, nread) != nread) {
290 (void)close(to_fd);
294 if (fcpxattr(from_fd, to_fd) == -1)
310 if (futimes(to_fd, tval))
313 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
318 if (fchmod(to_fd, sbp->st_mode))
320 if (fchflags(to_fd, sbp->st_flags) && (errno != EOPNOTSUPP))
323 if (close(to_fd)) {