Home
last modified time | relevance | path

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

/libuv/test/
H A Drun-tests.c212 uv_os_fd_t closed_fd; in maybe_run_test() local
220 ASSERT_EQ(sizeof(closed_fd), read(0, &closed_fd, sizeof(closed_fd))); in maybe_run_test()
223 ASSERT_GT((intptr_t) closed_fd, 0); in maybe_run_test()
230 !pCompareObjectHandles(open_fd, closed_fd), 0); in maybe_run_test()
233 ASSERT_GT(closed_fd, 2); in maybe_run_test()
235 ASSERT_EQ(1, write(closed_fd, "x", 1)); in maybe_run_test()
237 ASSERT_EQ(-1, write(closed_fd, "x", 1)); in maybe_run_test()

Completed in 4 milliseconds