Home
last modified time | relevance | path

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

/libuv/test/
H A Dtest-tty.c349 uv_tty_t tty_ro; in TEST_IMPL() local
391 ASSERT_OK(uv_tty_init(&loop, &tty_ro, fd, 1)); in TEST_IMPL()
393 ASSERT(uv_is_readable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
394 ASSERT(!uv_is_writable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
395 uv_close((uv_handle_t*) &tty_ro, NULL); in TEST_IMPL()
396 ASSERT(!uv_is_readable((uv_stream_t*) &tty_ro)); in TEST_IMPL()
397 ASSERT(!uv_is_writable((uv_stream_t*) &tty_ro)); in TEST_IMPL()

Completed in 5 milliseconds