isbackground
while (isbackground(curproc, tp) &&
if (isbackground(p, tp)) {
if (isbackground(p, tp) &&
while (isbackground(p, tp)) { /* XXXSMP */