Lines Matching refs:fds
506 int fds[2];
509 if (pipe(fds) != 0)
511 if (fcntl(fds[0], F_SETFD, FD_CLOEXEC) != 0
512 || fcntl(fds[1], F_SETFD, FD_CLOEXEC) != 0) {
523 close(fds[1]);
524 read(fds[0], &err, sizeof(err));
527 close(fds[0]);
532 close(fds[0]);
536 err = process_file_actions(actions, &fds[1]);
548 write(fds[1], &err, sizeof(err));
549 close(fds[1]);
554 close(fds[0]);
555 close(fds[1]);