Lines Matching refs:fds
133 sh_pipe(int fds[2])137 if (pipe(fds))140 if (fds[0] < 3) {141 nfd = fcntl(fds[0], F_DUPFD, 3);143 close(fds[0]);144 fds[0] = nfd;148 if (fds[1] < 3) {149 nfd = fcntl(fds[1], F_DUPFD, 3);151 close(fds[1]);152 fds[1] = nfd;