Lines Matching defs:ttyout_fd
46 int ttyin_fd, ttyout_fd;
71 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
81 ttyout_fd = open("/dev/tty", O_WRONLY, 0);
82 if (ttyout_fd < 0) {
90 ASSERT_GE(ttyout_fd, 0);
95 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd));
102 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */
220 int ttyout_fd;
239 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
241 ASSERT_GE(ttyout_fd, 0);
243 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd));
245 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */
266 int ttyout_fd;
285 ttyout_fd = _open_osfhandle((intptr_t) handle, 0);
287 ASSERT_GE(ttyout_fd, 0);
289 ASSERT_EQ(UV_TTY, uv_guess_handle(ttyout_fd));
291 r = uv_tty_init(loop, &tty_out, ttyout_fd, 0); /* Writable. */