Lines Matching refs:pgrp
87 int pgrp; member
95 int pgrp; member
387 running[keep_active].pgrp = -1; /* end sentinel */ in main()
534 if (running[i].pgrp == 0) in main()
626 if (orph->pgrp == 0) in main()
691 if (running[i].pgrp == 0) in propagate_signal()
696 send_signal, -running[i].pgrp); in propagate_signal()
697 if (kill(-running[i].pgrp, send_signal) != 0) { in propagate_signal()
700 panname, -running[i].pgrp, send_signal, in propagate_signal()
785 if (running[i].pgrp == cpid) { in check_pids()
874 running[i].pgrp = 0; in check_pids()
1133 active->pgrp = cpid; in run_child()
1302 if (orph->pgrp == 0) in check_orphans()
1308 sig, -(orph->pgrp)); in check_orphans()
1309 if (kill(-(orph->pgrp), sig) != 0) { in check_orphans()
1312 if (zoo_clear(zoofile, orph->pgrp)) { in check_orphans()
1316 orph->pgrp = 0; in check_orphans()
1320 panname, -(orph->pgrp), sig, errno, in check_orphans()
1332 if (orph->pgrp == 0) in mark_orphan()
1343 orph->pgrp = cpid; in mark_orphan()
1425 if (running[i].pgrp != 0) in pids_running()
1426 fprintf(stderr, "%d ", running[i].pgrp); in pids_running()
1437 if (orph->pgrp != 0) in orphans_running()
1438 fprintf(stderr, "%d ", -(orph->pgrp)); in orphans_running()