Home
last modified time | relevance | path

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

/third_party/mksh/
Djobs.c149 static pid_t restore_ttypgrp = -1; variable
247 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;