Searched refs:ctpgrp (Results 1 – 2 of 2) sorted by relevance
1227 int ctpgrp; in readc() local1232 ioctl(FSHTTY, TIOCGPGRP, (char *)&ctpgrp) == 0 && in readc()1233 tpgrp != ctpgrp) { in readc()1236 (void) killpg(ctpgrp, SIGHUP); in readc()1237 printf("Reset tty pgrp from %d to %d\n", ctpgrp, tpgrp); in readc()
1570 int ctpgrp; in dosuspend() local1589 (void) ioctl(FSHTTY, TIOCGPGRP, (char *)&ctpgrp); in dosuspend()1590 if (ctpgrp != opgrp) { in dosuspend()