Searched refs:desired_child_fd (Results 1 – 1 of 1) sorted by relevance
1199 int parent, child, desired_child_fd; in popen() local1203 desired_child_fd = STDOUT_FILENO; in popen()1207 desired_child_fd = STDIN_FILENO; in popen()1211 if (fds[child] == desired_child_fd) { in popen()1224 if (dup2(fds[child], desired_child_fd) == -1) _exit(127); in popen()