Searched refs:fds (Results 1 – 4 of 4) sorted by relevance
/elf/ |
A D | tst-align2.c | 26 static int res, fds[2], result; variable 42 write (fds[1], &c, 1); in des() 65 in_dso (&result, &test_destructors, &fds[1]); in do_test() 67 if (pipe (fds) < 0) in do_test() 82 close (fds[0]); in do_test() 87 close (fds[1]); in do_test() 92 while ((len = TEMP_FAILURE_RETRY (read (fds[0], &c, 1))) > 0) in do_test() 117 close (fds[0]); in do_test()
|
A D | tst-latepthread.c | 44 int fds[2]; in do_test() local 45 if (pipe (fds) < 0) in do_test() 58 if (dup2 (fds[1], STDERR_FILENO) < 0) in do_test() 74 if (close (fds[1]) < 0) in do_test() 81 ssize_t ret = read (fds[0], buf, sizeof (buf) - 1); in do_test()
|
A D | tst-stackguard1.c | 33 static int fds[2]; variable 85 if (pipe (fds) < 0) in do_test() 106 close (fds[0]); in do_test() 108 dup2 (fds[1], 2); in do_test() 109 close (fds[1]); in do_test() 115 close (fds[1]); in do_test() 117 if (TEMP_FAILURE_RETRY (read (fds[0], &child_stack_chk_guards[i], in do_test() 124 close (fds[0]); in do_test()
|
A D | tst-ptrguard1.c | 43 static int fds[2]; variable 95 if (pipe (fds) < 0) in do_test() 116 close (fds[0]); in do_test() 118 dup2 (fds[1], 2); in do_test() 119 close (fds[1]); in do_test() 125 close (fds[1]); in do_test() 127 if (TEMP_FAILURE_RETRY (read (fds[0], &child_ptr_chk_guards[i], in do_test() 134 close (fds[0]); in do_test()
|
Completed in 6 milliseconds