Searched refs:stdinfd (Results 1 – 1 of 1) sorted by relevance
131 int stdinfd; in create_pipe() local164 stdinfd = -1; in create_pipe()175 || ((stdinfd = open (prog_stdin, O_RDONLY, 0)) >= 0 in create_pipe()176 && (stdinfd == STDIN_FILENO in create_pipe()177 || (dup2 (stdinfd, STDIN_FILENO) >= 0 in create_pipe()178 && close (stdinfd) >= 0)))) in create_pipe()211 if (stdinfd >= 0) in create_pipe()212 close (stdinfd); in create_pipe()