Home
last modified time | relevance | path

Searched refs:stdout_fd (Results 1 – 23 of 23) sorted by relevance

/netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dsimple_exec.c146 pipe_execv(FILE **stdin_fd, FILE **stdout_fd, FILE **stderr_fd, in pipe_execv() argument
159 if(ret != -1 && stdout_fd != NULL) in pipe_execv()
186 if(stdout_fd != NULL) in pipe_execv()
194 if(stdout_fd == NULL) in pipe_execv()
222 if(stdout_fd != NULL) { in pipe_execv()
236 if(stdout_fd != NULL) { in pipe_execv()
238 *stdout_fd = fdopen(out_fd[0], "r"); in pipe_execv()
H A Dsimple_exec_w32.c211 pipe_execv(FILE **stdin_fd, FILE **stdout_fd, FILE **stderr_fd, in pipe_execv() argument
250 if ((stdout_fd && !CreatePipe(&hOut_r, &hOut_w, &sa, 0 /* Use default */)) || in pipe_execv()
256 (!stdout_fd && (hOut_w = CreateFile("CON", GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, in pipe_execv()
304 if (stdout_fd) { in pipe_execv()
305 *stdout_fd = _fdopen(_open_osfhandle((intptr_t) hOut_r, _O_RDONLY), "rb"); in pipe_execv()
306 if (*stdout_fd) in pipe_execv()
/netbsd-src/external/ibm-public/postfix/dist/src/util/
H A Dspawn_command.c110 int stdout_fd; /* write stdout here */ member
133 args->stdout_fd = -1; in get_spawn_args()
163 args->stdout_fd = va_arg(ap, int); in get_spawn_args()
256 || (args.stdout_fd >= 0 && DUP2(args.stdout_fd, STDOUT_FILENO) < 0) in spawn_command()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Derror.c153 int stdout_fd; in flush_stdout() local
159 stdout_fd = STDOUT_FILENO; in flush_stdout()
164 stdout_fd = fileno (stdout); in flush_stdout()
169 if (0 <= stdout_fd && is_open (stdout_fd)) in flush_stdout()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cc444 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
449 if (stdout_fd != kInvalidFd) { in StartSubprocess()
450 internal_close(stdout_fd); in StartSubprocess()
474 if (stdout_fd != kInvalidFd) { in StartSubprocess()
476 internal_dup2(stdout_fd, STDOUT_FILENO); in StartSubprocess()
477 internal_close(stdout_fd); in StartSubprocess()
H A Dsanitizer_file.h91 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
H A Dsanitizer_win.cc1034 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 Dsanitizer_posix_libcdep.cpp423 const char *const envp[], fd_t stdin_fd, fd_t stdout_fd, in StartSubprocess() argument
429 if (stdout_fd != kInvalidFd) { in StartSubprocess()
430 internal_close(stdout_fd); in StartSubprocess()
454 if (stdout_fd != kInvalidFd) { in StartSubprocess()
456 internal_dup2(stdout_fd, STDOUT_FILENO); in StartSubprocess()
457 internal_close(stdout_fd); in StartSubprocess()
H A Dsanitizer_file.h94 fd_t stdout_fd = kInvalidFd, fd_t stderr_fd = kInvalidFd);
H A Dsanitizer_win.cpp1099 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 Dsanitizer_posix_libcdep.cc440 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
445 if (stdout_fd != kInvalidFd) { in StartSubprocess()
446 internal_close(stdout_fd); in StartSubprocess()
470 if (stdout_fd != kInvalidFd) { in StartSubprocess()
472 internal_dup2(stdout_fd, STDOUT_FILENO); in StartSubprocess()
473 internal_close(stdout_fd); in StartSubprocess()
H A Dsanitizer_file.h92 fd_t stdin_fd = kInvalidFd, fd_t stdout_fd = kInvalidFd,
H A Dsanitizer_win.cc1027 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { in StartSubprocess() argument
/netbsd-src/external/mit/libuv/dist/test/
H A Drunner-unix.c83 int stdout_fd; in process_start() local
112 stdout_fd = fileno(stdout_file); in process_start()
145 dup2(stdout_fd, STDOUT_FILENO); in process_start()
146 dup2(stdout_fd, STDERR_FILENO); in process_start()
/netbsd-src/external/gpl2/gmake/dist/
H A Djob.h77 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 Djob.c1897 child_execute_job (int stdin_fd, int stdout_fd, char **argv, char **envp) in child_execute_job() argument
1903 int save_stdout = (stdout_fd != 1) ? dup (1): 1; in child_execute_job()
1920 if (stdout_fd != 1) in child_execute_job()
1921 (void) dup2 (stdout_fd, 1); in child_execute_job()
1927 if (stdout_fd != 1) in child_execute_job()
1928 CLOSE_ON_EXEC (stdout_fd); in child_execute_job()
1942 if (stdout_fd != 1) in child_execute_job()
1960 child_execute_job (int stdin_fd, int stdout_fd, char **argv, char **envp) in child_execute_job() argument
1964 if (stdout_fd != 1) in child_execute_job()
1965 (void) dup2 (stdout_fd, 1); in child_execute_job()
[all …]
/netbsd-src/external/bsd/atf/dist/tools/
H A Dprocess.hpp243 int stdout_fd(void);
289 const int stdout_fd = outsb.connect_parent(); in fork() local
291 return child(pid, stdout_fd, stderr_fd); in fork()
H A Dprocess.cpp480 impl::child::stdout_fd(void) in stdout_fd() function in impl::child
H A Dtest-program.cpp661 tools::io::pistream outin(child.stdout_fd()); in get_metadata()
758 tools::io::file_handle outfh = child.stdout_fd(); in run_test_case()
/netbsd-src/external/bsd/kyua-cli/dist/utils/process/
H A Dchild.cpp334 const int stdout_fd = open_for_append(stdout_file); in fork_files_aux() local
335 safe_dup(stdout_fd, STDOUT_FILENO); in fork_files_aux()
336 ::close(stdout_fd); in fork_files_aux()
/netbsd-src/external/bsd/atf/dist/atf-c++/detail/
H A Dprocess.hpp218 int stdout_fd(void);
H A Dprocess.cpp326 impl::child::stdout_fd(void) in stdout_fd() function in impl::child
/netbsd-src/usr.bin/nc/
H A Dnetcat.c1064 int stdout_fd = STDOUT_FILENO; in readwrite() local
1089 pfd[POLL_STDOUT].fd = stdout_fd; in readwrite()