Searched refs:tty_fd (Results 1 - 14 of 14) sorted by relevance
/third_party/libuv/test/ |
H A D | test-handle-fileno.c | 48 int tty_fd; in TEST_IMPL() local 103 tty_fd = get_tty_fd(); in TEST_IMPL() 104 if (tty_fd < 0) { in TEST_IMPL() 108 r = uv_tty_init(loop, &tty, tty_fd, 0); in TEST_IMPL()
|
/third_party/mksh/ |
H A D | jobs.c | 246 mksh_tcset(tty_fd, &tty_state); in j_suspend() 248 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend() 273 } else if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_suspend() 327 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit() 353 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) { 355 if ((ttypgrp_ok = (use_tty && tty_fd >= 0))) { 363 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) { 384 if (tcsetpgrp(tty_fd, kshpid) < 0) { 551 tcsetpgrp(tty_fd, j->pgrp); 867 mksh_tcset(tty_fd, [all...] |
H A D | main.c | 1215 * Initialise tty_fd. Used for tracking the size of the terminal, 1223 * An existing tty_fd is cached if no "better" one could be found, 1251 if (tty_fd >= 0) { in tty_init_fd() 1277 tty_fd = rv; in tty_init_fd()
|
H A D | var.c | 1726 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
|
H A D | edit.c | 3397 x_mkraw(tty_fd, NULL, false); in x_mode() 3436 mksh_tcset(tty_fd, &tty_state); in x_mode()
|
H A D | sh.h | 2838 /* tty_fd is not opened O_BINARY, it's thus never read/written */ 2839 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */ 2840 EXTERN bool tty_devtty; /* true if tty_fd is from /dev/tty */ 2844 extern int tty_init_fd(void); /* initialise tty_fd, tty_devtty */
|
/third_party/FreeBSD/sys/dev/usb/serial/ |
H A D | usb_serial.c | 109 static int tty_fd = -1; variable 260 tty_fd = -1; in ucom_detach() 1088 if (tty_fd > 0) { in ucom_rx_task() 1089 length = read(tty_fd, buffer, 128); in ucom_rx_task() 1183 if (tty_fd < 0) { in ucom_tx_task() 1186 err = write(tty_fd, p_ucom_tx_handler->p_ucom_tx_data, in ucom_tx_task() 1268 tty_fd = open("/dev/ttyUSB0", O_RDWR); in u3g_write_from_shell() 1269 if (tty_fd < 0) { in u3g_write_from_shell() 1270 PRINTK("open /dev/ttyUSB0 error! errno %d\n", tty_fd); in u3g_write_from_shell() 1274 if (tty_fd > in u3g_write_from_shell() [all...] |
/third_party/toybox/toys/other/ |
H A D | reset.c | 21 int fd = tty_fd(); in reset_main()
|
H A D | login.c | 41 int hh = FLAG(h), count, tty = tty_fd(); in login_main()
|
/third_party/toybox/lib/ |
H A D | tty.c | 8 int tty_fd(void) in tty_fd() function
|
H A D | lib.h | 324 int tty_fd(void);
|
/third_party/toybox/porting/liteos_a/lib/ |
H A D | lib.h | 315 int tty_fd(void);
|
/third_party/toybox/toys/posix/ |
H A D | ps.c | 1291 if (-1 != (i = tty_fd())) { in ps_main() 1740 TT.tty = tty_fd() != -1; in top_setup()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | ps.c | 1593 TT.tty = tty_fd() != -1; in top_setup()
|
Completed in 28 milliseconds