Home
last modified time | relevance | path

Searched refs:restore_ttypgrp (Results 1 – 1 of 1) sorted by relevance

/external/mksh/src/
Djobs.c135 static pid_t restore_ttypgrp = -1; variable
239 if (restore_ttypgrp >= 0) { in j_suspend()
240 if (tcsetpgrp(tty_fd, restore_ttypgrp) < 0) { in j_suspend()
243 } else if (setpgid(0, restore_ttypgrp) < 0) { in j_suspend()
260 if (restore_ttypgrp >= 0) { in j_suspend()
310 if (kshpid == procpid && restore_ttypgrp >= 0) { in j_exit()
319 tcsetpgrp(tty_fd, restore_ttypgrp); in j_exit()
320 setpgid(0, restore_ttypgrp); in j_exit()
378 restore_ttypgrp = kshpgrp; in j_change()