Searched refs:tty_fd (Results 1 – 15 of 15) sorted by relevance
/third_party/mksh/ |
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, &j->ttystat); [all …]
|
D | main.c | 1251 if (tty_fd >= 0) { in tty_init_fd() 1277 tty_fd = rv; in tty_init_fd()
|
D | var.c | 1726 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
|
D | edit.c | 3397 x_mkraw(tty_fd, NULL, false); in x_mode() 3436 mksh_tcset(tty_fd, &tty_state); in x_mode()
|
D | sh.h | 2839 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */
|
/third_party/libuv/test/ |
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/FreeBSD/sys/dev/usb/serial/ |
D | usb_serial.c | 111 static int tty_fd = -1; variable 262 tty_fd = -1; in ucom_detach() 1090 if (tty_fd > 0) { in ucom_rx_task() 1091 length = read(tty_fd, buffer, 128); in ucom_rx_task() 1185 if (tty_fd < 0) { in ucom_tx_task() 1188 err = write(tty_fd, p_ucom_tx_handler->p_ucom_tx_data, in ucom_tx_task() 1270 tty_fd = open("/dev/ttyUSB0", O_RDWR); in u3g_write_from_shell() 1271 if (tty_fd < 0) { in u3g_write_from_shell() 1272 PRINTK("open /dev/ttyUSB0 error! errno %d\n", tty_fd); in u3g_write_from_shell() 1276 if (tty_fd > 0) { in u3g_write_from_shell() [all …]
|
/third_party/toybox/toys/other/ |
D | reset.c | 21 int fd = tty_fd(); in reset_main()
|
D | login.c | 41 int hh = FLAG(h), count, tty = tty_fd(); in login_main()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_evdev.c | 152 static int SDL_EVDEV_mute_keyboard(int tty_fd, int* old_kb_mode) in SDL_EVDEV_mute_keyboard() argument 154 if (!SDL_EVDEV_is_console(tty_fd)) { in SDL_EVDEV_mute_keyboard() 158 if (ioctl(tty_fd, KDGKBMODE, old_kb_mode) < 0) { in SDL_EVDEV_mute_keyboard() 174 static void SDL_EVDEV_unmute_keyboard(int tty_fd, int kb_mode) in SDL_EVDEV_unmute_keyboard() argument
|
/third_party/toybox/lib/ |
D | tty.c | 8 int tty_fd(void) in tty_fd() function
|
D | lib.h | 321 int tty_fd(void);
|
/third_party/toybox/porting/liteos_a/lib/ |
D | lib.h | 315 int tty_fd(void);
|
/third_party/toybox/toys/posix/ |
D | ps.c | 1291 if (-1 != (i = tty_fd())) { in ps_main() 1739 TT.tty = tty_fd() != -1; in top_setup()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
D | ps.c | 1593 TT.tty = tty_fd() != -1; in top_setup()
|