Searched defs:stdout_fd (Results 1 - 5 of 5) sorted by relevance

/external/ltp/include/
H A Dtst_cmd.h26 * @stdout_fd: file descriptor where to redirect stdout. Set -1 if
36 int stdout_fd,
57 int stdout_fd,
62 stdout_fd, stderr_fd, pass_exit_val);
76 int stdout_fd,
81 stdout_fd, stderr_fd, pass_exit_val);
56 tst_run_cmd_fds(const char *const argv[], int stdout_fd, int stderr_fd, int pass_exit_val) argument
74 tst_run_cmd_fds(void (cleanup_fn)(void), const char *const argv[], int stdout_fd, int stderr_fd, int pass_exit_val) argument
/external/ltp/lib/tests/
H A Dtrerrno.c43 int fd, stdout_fd; local
50 stdout_fd = dup(fileno(stdout));
63 TEST(dup2(stdout_fd, fileno(stdout)));
/external/ltp/lib/
H A Dtst_run_cmd.c36 int stdout_fd,
66 if (stdout_fd != -1) {
68 dup2(stdout_fd, STDOUT_FILENO);
116 int stdout_fd = -1; local
121 stdout_fd = open(stdout_path,
124 if (stdout_fd == -1)
140 rc = tst_run_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd,
143 if ((stdout_fd != -1) && (close(stdout_fd) == -1))
34 tst_run_cmd_fds_(void (cleanup_fn)(void), const char *const argv[], int stdout_fd, int stderr_fd, int pass_exit_val) argument
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_posix_libcdep.cc334 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) {
339 if (stdout_fd != kInvalidFd) {
340 internal_close(stdout_fd);
364 if (stdout_fd != kInvalidFd) {
366 internal_dup2(stdout_fd, STDOUT_FILENO);
367 internal_close(stdout_fd);
333 StartSubprocess(const char *program, const char *const argv[], fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) argument
H A Dsanitizer_win.cc868 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) {
867 StartSubprocess(const char *program, const char *const argv[], fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) argument

Completed in 249 milliseconds