Searched refs:tty_fd (Results 1 – 7 of 7) sorted by relevance
/external/mksh/src/ |
D | jobs.c | 238 mksh_tcset(tty_fd, &tty_state); in j_suspend() 240 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend() 265 } else if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_suspend() 319 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit() 344 if ((ttypgrp_ok = (use_tty && tty_fd >= 0 && tty_devtty))) { in j_change() 351 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) { in j_change() 372 if (tcsetpgrp(tty_fd, kshpid) < 0) { in j_change() 539 tcsetpgrp(tty_fd, j->pgrp); in exchild() 855 mksh_tcset(tty_fd, &j->ttystat); in j_resume() 858 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ? in j_resume() [all …]
|
D | main.c | 1213 if (tty_fd >= 0) { in tty_init_fd() 1239 tty_fd = rv; in tty_init_fd()
|
D | var.c | 1648 if (ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { in change_winsz()
|
D | edit.c | 3313 x_mkraw(tty_fd, NULL, false); in x_mode() 3352 mksh_tcset(tty_fd, &tty_state); in x_mode()
|
D | sh.h | 2457 EXTERN int tty_fd E_INIT(-1); /* dup'd tty file descriptor */
|
/external/ppp/pppd/ |
D | sys-linux.c | 403 int tty_establish_ppp (int tty_fd) in tty_establish_ppp() argument 410 if (ioctl(tty_fd, TIOCEXCL, 0) < 0) { in tty_establish_ppp() 430 if (ioctl(tty_fd, TIOCSETD, &ppp_disc) < 0) { in tty_establish_ppp() 437 ret_fd = generic_establish_ppp(tty_fd); in tty_establish_ppp() 447 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0 && !ok_error(errno)) in tty_establish_ppp() 555 void tty_disestablish_ppp(int tty_fd) in tty_disestablish_ppp() argument 561 if (tcflush(tty_fd, TCIOFLUSH) < 0) in tty_disestablish_ppp() 569 if (ioctl(tty_fd, TIOCSETD, &tty_disc) < 0) { in tty_disestablish_ppp() 574 if (ioctl(tty_fd, TIOCNXCL, 0) < 0) { in tty_disestablish_ppp() 580 if (initfdflags != -1 && fcntl(tty_fd, F_SETFL, initfdflags) < 0) { in tty_disestablish_ppp() [all …]
|
/external/autotest/client/common_lib/ |
D | pexpect.py | 606 def __pty_make_controlling_tty(self, tty_fd): argument 612 child_name = os.ttyname(tty_fd)
|