Home
last modified time | relevance | path

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

/third_party/mksh/
Djobs.c246 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 …]
Dmain.c1251 if (tty_fd >= 0) { in tty_init_fd()
1277 tty_fd = rv; in tty_init_fd()
Dvar.c1726 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
Dedit.c3397 x_mkraw(tty_fd, NULL, false); in x_mode()
3436 mksh_tcset(tty_fd, &tty_state); in x_mode()
Dsh.h2839 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */
/third_party/libuv/test/
Dtest-handle-fileno.c48 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/
Dusb_serial.c111 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/
Dreset.c21 int fd = tty_fd(); in reset_main()
Dlogin.c41 int hh = FLAG(h), count, tty = tty_fd(); in login_main()
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/
DSDL_evdev.c152 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/
Dtty.c8 int tty_fd(void) in tty_fd() function
Dlib.h321 int tty_fd(void);
/third_party/toybox/porting/liteos_a/lib/
Dlib.h315 int tty_fd(void);
/third_party/toybox/toys/posix/
Dps.c1291 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/
Dps.c1593 TT.tty = tty_fd() != -1; in top_setup()