Lines Matching refs:tcsetpgrp
248 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) {
250 Tj_suspend, "tcsetpgrp", cstrerror(errno));
273 } else if (tcsetpgrp(tty_fd, kshpid) < 0) {
275 Tj_suspend, "tcsetpgrp", cstrerror(errno));
327 tcsetpgrp(tty_fd, restore_ttypgrp);
384 if (tcsetpgrp(tty_fd, kshpid) < 0) {
386 "j_init", "tcsetpgrp",
551 tcsetpgrp(tty_fd, j->pgrp);
870 tcsetpgrp(tty_fd, (j->flags & JF_SAVEDTTYPGRP) ?
877 "fg: 1st", "tcsetpgrp", tty_fd,
897 if (ttypgrp_ok && tcsetpgrp(tty_fd, kshpgrp) < 0)
899 "fg: 2nd", "tcsetpgrp", tty_fd,
1195 if (tcsetpgrp(tty_fd, kshpgrp) < 0)
1197 "j_waitj:", "tcsetpgrp", tty_fd,