Searched refs:ttyout_fd (Results 1 – 2 of 2) sorted by relevance
/libuv/test/ |
H A D | test-tty.c | 46 int ttyin_fd, ttyout_fd; in TEST_IMPL() local 81 ttyout_fd = open("/dev/tty", O_WRONLY, 0); in TEST_IMPL() 82 if (ttyout_fd < 0) { in TEST_IMPL() 90 ASSERT_GE(ttyout_fd, 0); in TEST_IMPL() 95 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in TEST_IMPL() 220 int ttyout_fd; in TEST_IMPL() local 241 ASSERT_GE(ttyout_fd, 0); in TEST_IMPL() 243 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in TEST_IMPL() 266 int ttyout_fd; in TEST_IMPL() local 287 ASSERT_GE(ttyout_fd, 0); in TEST_IMPL() [all …]
|
H A D | test-tty-escape-sequence-processing.c | 352 int ttyout_fd; in initialize_tty() local 365 ttyout_fd = _open_osfhandle((intptr_t) handle, 0); in initialize_tty() 366 ASSERT_GE(ttyout_fd, 0); in initialize_tty() 367 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd)); in initialize_tty() 368 r = uv_tty_init(uv_default_loop(), tty_out, ttyout_fd, 0); /* Writable. */ in initialize_tty()
|
Completed in 7 milliseconds