Home
last modified time | relevance | path

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

/freebsd/contrib/kyua/utils/process/
H A Doperations_test.cpp256 int first_fds[2], second_fds[2]; in ATF_TEST_CASE_BODY() local
258 ATF_REQUIRE(::pipe(second_fds) != -1); in ATF_TEST_CASE_BODY()
270 ::close(second_fds[0]); in ATF_TEST_CASE_BODY()
271 write_loop(second_fds[1]); in ATF_TEST_CASE_BODY()
274 ::close(second_fds[0]); in ATF_TEST_CASE_BODY()
275 ::close(second_fds[1]); in ATF_TEST_CASE_BODY()
279 ::close(second_fds[1]); in ATF_TEST_CASE_BODY()
284 ::read(second_fds[0], &dummy, sizeof(dummy)) <= 0) { in ATF_TEST_CASE_BODY()
291 ::read(second_fds[0], &dummy, sizeof(dummy)) > 0) { in ATF_TEST_CASE_BODY()