Home | History | Annotate | Download | only in src

Lines Matching refs:tty_fd

246 		tcsetpgrp(tty_fd, restore_ttypgrp);
271 if ((ttypgrp_ok = use_tty && tty_fd >= 0 && tty_devtty)) {
278 if ((ttypgrp = tcgetpgrp(tty_fd)) < 0) {
300 if (tcsetpgrp(tty_fd, kshpid) < 0) {
312 if (tty_fd >= 0)
313 tcgetattr(tty_fd, &tty_state);
437 tcsetpgrp(tty_fd, pi.j->pgrp);
720 tcsetattr(tty_fd, TCSADRAIN, &j->ttystate);
723 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ?
727 tcsetattr(tty_fd, TCSADRAIN, &tty_state);
731 tty_fd,
750 tcsetattr(tty_fd, TCSADRAIN, &tty_state);
751 if (ttypgrp_ok && tcsetpgrp(tty_fd, kshpgrp) < 0)
754 tty_fd, (long)kshpgrp, strerror(errno));
1021 (j->saved_ttypgrp = tcgetpgrp(tty_fd)) >= 0)
1023 if (tcsetpgrp(tty_fd, kshpgrp) < 0)
1026 tty_fd, (long)kshpgrp, strerror(errno));
1029 tcgetattr(tty_fd, &j->ttystate);
1033 if (tty_fd >= 0) {
1045 tcgetattr(tty_fd, &tty_state);
1047 tcsetattr(tty_fd, TCSADRAIN, &tty_state);