Searched defs:stderr_fd (Results 1 - 5 of 5) sorted by relevance
/external/ltp/include/ |
H A D | tst_cmd.h | 28 * @stderr_fd: file descriptor where to redirect stderr. Set -1 if 37 int stderr_fd, 58 int stderr_fd, 62 stdout_fd, stderr_fd, pass_exit_val); 77 int stderr_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/testcases/lib/ |
H A D | tst_rod.c | 34 int stderr_fd = 0; local 123 int stderr_fd = dup(2); local 125 if (stderr_fd < 0) { 141 WRITE_STRING(stderr_fd, "Failed to dup2 stderr\n"); 152 if (stderr_fd) { 153 WRITE_STRING(stderr_fd, "Failed to popen /bin/sh\n");
|
/external/ltp/lib/ |
H A D | tst_run_cmd.c | 37 int stderr_fd, 71 if (stderr_fd != -1) { 73 dup2(stderr_fd, STDERR_FILENO); 117 int stderr_fd = -1; local 131 stderr_fd = open(stderr_path, 134 if (stderr_fd == -1) 140 rc = tst_run_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, 148 if ((stderr_fd != -1) && (close(stderr_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 D | sanitizer_posix_libcdep.cc | 334 fd_t stdin_fd, fd_t stdout_fd, fd_t stderr_fd) { 342 if (stderr_fd != kInvalidFd) { 343 internal_close(stderr_fd); 369 if (stderr_fd != kInvalidFd) { 371 internal_dup2(stderr_fd, STDERR_FILENO); 372 internal_close(stderr_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 D | sanitizer_win.cc | 868 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 416 milliseconds