Searched refs:desired_child_fd (Results 1 – 1 of 1) sorted by relevance
1194 int parent, child, desired_child_fd; in popen() local1198 desired_child_fd = STDOUT_FILENO; in popen()1202 desired_child_fd = STDIN_FILENO; in popen()1206 if (fds[child] == desired_child_fd) { in popen()1219 if (dup2(fds[child], desired_child_fd) == -1) _exit(127); in popen()