Lines Matching defs:pipefd
365 _cleanup_close_pair_ int pipefd[2] = { -1, -1 };
371 if (pipe2(pipefd, O_CLOEXEC) < 0)
400 pipefd[0] = safe_close(pipefd[0]);
402 if (dup2(pipefd[1], STDERR_FILENO) != STDERR_FILENO) {
416 if (dup2(pipefd[1], STDOUT_FILENO) != STDOUT_FILENO) {
422 if (pipefd[1] != STDOUT_FILENO && pipefd[1] != STDERR_FILENO)
423 pipefd[1] = safe_close(pipefd[1]);
501 pipefd[1] = safe_close(pipefd[1]);
502 t->log_fd = pipefd[0];
503 pipefd[0] = -1;