Lines Matching defs:fd_stdout
392 int fd_stdout, int fd_stderr) {
403 if (fd_stdout < 0) {
418 if (fd_stdout >= 0) {
419 r = dup2(fd_stdout, STDOUT_FILENO);
423 fd_stdout = safe_close(fd_stdout);
449 int fd_stdout, int fd_stderr,
454 .data.ptr = &fd_stdout,
464 if (fd_stdout < 0 && fd_stderr < 0)
473 if (fd_stdout >= 0) {
474 r = epoll_ctl(fd_ep, EPOLL_CTL_ADD, fd_stdout, &ep_outpipe);
490 while (fd_stdout >= 0 || fd_stderr >= 0) {
536 if (result != NULL && *fd == fd_stdout) {
553 log_debug("'%s'(%s) '%s'", cmd, *fd == fd_stdout ? "out" : "err" , line);