Lines Matching refs:tcsetpgrp
247 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) {
249 Tj_suspend, "tcsetpgrp", cstrerror(errno));
272 } else if (tcsetpgrp(tty_fd, kshpid) < 0) {
274 Tj_suspend, "tcsetpgrp", cstrerror(errno));
326 tcsetpgrp(tty_fd, restore_ttypgrp);
379 if (tcsetpgrp(tty_fd, kshpid) < 0) {
381 "j_init", "tcsetpgrp",
546 tcsetpgrp(tty_fd, j->pgrp);
865 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ?
872 "fg: 1st", "tcsetpgrp", tty_fd,
892 if (ttypgrp_ok && tcsetpgrp(tty_fd, kshpgrp) < 0)
894 "fg: 2nd", "tcsetpgrp", tty_fd,
1190 if (tcsetpgrp(tty_fd, kshpgrp) < 0)
1192 "j_waitj:", "tcsetpgrp", tty_fd,