Lines Matching refs:pipedes
1432 windows32_openpipe (int *pipedes, int *pid_p, char **command_argv, char **envp) in windows32_openpipe() argument
1487 pipedes[0] = _open_osfhandle((intptr_t) hChildOutRd, O_RDONLY); in windows32_openpipe()
1490 pipedes[1] = _open_osfhandle((intptr_t) hChildOutWr, O_APPEND); in windows32_openpipe()
1504 pipedes[0] = pipedes[1] = -1; in windows32_openpipe()
1513 msdos_openpipe (int* pipedes, int *pidp, char *text) in msdos_openpipe() argument
1547 pipedes[0] = -1; in msdos_openpipe()
1557 pipedes[0] = fileno (fpipe); in msdos_openpipe()
1588 int pipedes[2]; in func_shell() local
1624 windows32_openpipe (pipedes, &pid, command_argv, envp); in func_shell()
1626 if (pipedes[0] < 0) { in func_shell()
1635 fpipe = msdos_openpipe (pipedes, &pid, argv[0]); in func_shell()
1636 if (pipedes[0] < 0) in func_shell()
1644 if (pipe (pipedes) < 0) in func_shell()
1653 CLOSE_ON_EXEC(pipedes[1]); in func_shell()
1654 CLOSE_ON_EXEC(pipedes[0]); in func_shell()
1656 pid = child_execute_job (0, pipedes[1], command_argv, envp); in func_shell()
1666 child_execute_job (0, pipedes[1], command_argv, envp); in func_shell()
1688 (void) close (pipedes[1]); in func_shell()
1705 EINTRLOOP (cc, read (pipedes[0], &buffer[i], maxlen - i)); in func_shell()
1716 (void) close (pipedes[0]); in func_shell()