Lines Matching refs:fileno
146 old_stdin = dup(fileno(stdin));
147 (void) dup2(inputfd, fileno(stdin));
180 old_stderr = dup(fileno(stderr));
181 (void) dup2(status->error_pipe[1], fileno(stderr));
191 old_stdout = dup(fileno(stdout));
192 (void) dup2(outputfd, fileno(stdout));
203 if (pid != 0) dup2(old_stdin, fileno(stdin));
207 if (pid != 0) dup2(old_stdout, fileno(stdout));
211 if (pid != 0) dup2(old_stderr, fileno(stderr));
428 fd_in = dup(fileno(file));
436 fd_out = dup(fileno(file));
471 fd = dup(fileno(file));