Searched refs:restore_ttypgrp (Results 1 – 1 of 1) sorted by relevance
149 static pid_t restore_ttypgrp = -1; variable247 if (restore_ttypgrp >= 0) { in j_suspend()248 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend()251 } else if (setpgid(0, restore_ttypgrp) < 0) { in j_suspend()268 if (restore_ttypgrp >= 0) { in j_suspend()318 if (kshpid == procpid && restore_ttypgrp >= 0) { in j_exit()327 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit()328 setpgid(0, restore_ttypgrp); in j_exit()390 restore_ttypgrp = kshpgrp;