Home
last modified time | relevance | path

Searched refs:stderr_fd (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/include/
Dtst_cmd.h33 int stderr_fd,
52 int stderr_fd, in tst_cmd_fds() argument
56 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
71 int stderr_fd, in tst_cmd_fds() argument
75 stdout_fd, stderr_fd, flags); in tst_cmd_fds()
/third_party/ltp/lib/
Dtst_cmd.c50 int stderr_fd, in tst_cmd_fds_() argument
94 if (stderr_fd != -1) { in tst_cmd_fds_()
96 dup2(stderr_fd, STDERR_FILENO); in tst_cmd_fds_()
137 int stderr_fd = -1; in tst_cmd_() local
151 stderr_fd = open(stderr_path, in tst_cmd_()
154 if (stderr_fd == -1) in tst_cmd_()
160 rc = tst_cmd_fds(cleanup_fn, argv, stdout_fd, stderr_fd, flags); in tst_cmd_()
167 if ((stderr_fd != -1) && (close(stderr_fd) == -1)) in tst_cmd_()
/third_party/ltp/testcases/lib/
Dtst_rod.c21 int stderr_fd = 0; in main() local
117 int stderr_fd = dup(2); in main() local
119 if (stderr_fd < 0) { in main()
135 WRITE_STRING(stderr_fd, "Failed to dup2 stderr\n"); in main()
146 if (stderr_fd) { in main()
147 WRITE_STRING(stderr_fd, "Failed to popen /bin/sh\n"); in main()
/third_party/python/Lib/test/libregrtest/
Dsetup.py22 stderr_fd = sys.__stderr__.fileno()
28 stderr_fd = None
31 faulthandler.enable(all_threads=True, file=stderr_fd)
40 faulthandler.register(signum, chain=True, file=stderr_fd)