/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | simple_exec.c | 146 pipe_execv(FILE **stdin_fd, FILE **stdout_fd, FILE **stderr_fd, in pipe_execv() argument 157 if(stdin_fd != NULL) in pipe_execv() 184 if(stdin_fd != NULL) in pipe_execv() 192 if(stdin_fd == NULL) in pipe_execv() 218 if(stdin_fd != NULL) { in pipe_execv() 232 if(stdin_fd != NULL) { in pipe_execv() 234 *stdin_fd = fdopen(in_fd[1], "w"); in pipe_execv()
|
H A D | simple_exec_w32.c | 211 pipe_execv(FILE **stdin_fd, FILE **stdout_fd, FILE **stderr_fd, in pipe_execv() argument 252 (stdin_fd && !CreatePipe(&hIn_r, &hIn_w, &sa, 0)) || in pipe_execv() 259 (!stdin_fd && (hIn_r = CreateFile("CON",GENERIC_READ, FILE_SHARE_READ|FILE_SHARE_WRITE, in pipe_execv() 298 if (stdin_fd) { in pipe_execv() 299 *stdin_fd = _fdopen(_open_osfhandle((intptr_t) hIn_w, 0), "wb"); in pipe_execv() 300 if (*stdin_fd) in pipe_execv()
|
/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | spawn_command.c | 109 int stdin_fd; /* read stdin here */ member 132 args->stdin_fd = -1; in get_spawn_args() 160 args->stdin_fd = va_arg(ap, int); in get_spawn_args() 255 if ((args.stdin_fd >= 0 && DUP2(args.stdin_fd, STDIN_FILENO) < 0) in spawn_command()
|
/netbsd-src/external/gpl3/gcc.old/dist/fixincludes/ |
H A D | procopen.c | 65 chain_open (int stdin_fd, tCC** pp_args, pid_t* p_child) in chain_open() argument 133 ch_id, stdin_fd, stdout_pair.write_fd, stdout_pair.read_fd); in chain_open() 135 close (stdin_fd); in chain_open() 159 dup2 (stdin_fd, STDIN_FILENO); in chain_open()
|
/netbsd-src/external/gpl3/gcc/dist/fixincludes/ |
H A D | procopen.c | 65 chain_open (int stdin_fd, tCC** pp_args, pid_t* p_child) in chain_open() argument 133 ch_id, stdin_fd, stdout_pair.write_fd, stdout_pair.read_fd); in chain_open() 135 close (stdin_fd); in chain_open() 159 dup2 (stdin_fd, STDIN_FILENO); in chain_open()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cc | 444 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument 446 if (stdin_fd != kInvalidFd) { in StartSubprocess() 447 internal_close(stdin_fd); in StartSubprocess() 469 if (stdin_fd != kInvalidFd) { in StartSubprocess() 471 internal_dup2(stdin_fd, STDIN_FILENO); in StartSubprocess() 472 internal_close(stdin_fd); in StartSubprocess()
|
H A D | sanitizer_file.h | 91 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
|
H A D | sanitizer_win.cc | 1034 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
|
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cpp | 423 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument 426 if (stdin_fd != kInvalidFd) { in StartSubprocess() 427 internal_close(stdin_fd); in StartSubprocess() 449 if (stdin_fd != kInvalidFd) { in StartSubprocess() 451 internal_dup2(stdin_fd, STDIN_FILENO); in StartSubprocess() 452 internal_close(stdin_fd); in StartSubprocess()
|
H A D | sanitizer_file.h | 93 const char *const envp[], fd_t stdin_fd = kInvalidFd,
|
H A D | sanitizer_win.cpp | 1099 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument
|
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
H A D | sanitizer_posix_libcdep.cc | 440 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument 442 if (stdin_fd != kInvalidFd) { in StartSubprocess() 443 internal_close(stdin_fd); in StartSubprocess() 465 if (stdin_fd != kInvalidFd) { in StartSubprocess() 467 internal_dup2(stdin_fd, STDIN_FILENO); in StartSubprocess() 468 internal_close(stdin_fd); in StartSubprocess()
|
H A D | sanitizer_file.h | 92 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
|
H A D | sanitizer_win.cc | 1027 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
|
/netbsd-src/external/gpl2/gmake/dist/ |
H A D | remote-cstms.c | 141 start_remote_job (char **argv, char **envp, int stdin_fd, in start_remote_job() argument 246 if (stdin_fd != 0) in start_remote_job() 247 (void) dup2 (stdin_fd, 0); in start_remote_job()
|
H A D | job.h | 77 extern int child_execute_job PARAMS ((int stdin_fd, int stdout_fd, char **argv, char **envp)); 79 extern void child_execute_job PARAMS ((int stdin_fd, int stdout_fd, char **argv, char **envp));
|
H A D | job.c | 192 extern int start_remote_job PARAMS ((char **argv, char **envp, int stdin_fd, 1897 child_execute_job (int stdin_fd, int stdout_fd, char **argv, char **envp) in child_execute_job() argument 1902 int save_stdin = (stdin_fd != 0) ? dup (0) : 0; in child_execute_job() 1918 if (stdin_fd != 0) in child_execute_job() 1919 (void) dup2 (stdin_fd, 0); in child_execute_job() 1925 if (stdin_fd != 0) in child_execute_job() 1926 CLOSE_ON_EXEC (stdin_fd); in child_execute_job() 1934 if (stdin_fd != 0) in child_execute_job() 1960 child_execute_job (int stdin_fd, int stdout_fd, char **argv, char **envp) in child_execute_job() argument 1962 if (stdin_fd != 0) in child_execute_job() [all …]
|
H A D | remote-stub.c | 57 start_remote_job (char **argv UNUSED, char **envp UNUSED, int stdin_fd UNUSED, in start_remote_job()
|
/netbsd-src/usr.bin/nc/ |
H A D | netcat.c | 1063 int stdin_fd = STDIN_FILENO; in readwrite() local 1074 stdin_fd = -1; in readwrite() 1077 pfd[POLL_STDIN].fd = stdin_fd; in readwrite()
|