if (p->ipp)
if (p->ipp > p->pstart)
static int childisfinished(struct pipe_params *p){	if (p->pstate != 3)		return 0;	if (p->otop)		return 0;	if (p->ipp)		return 0;	if (p->istate == 1 && p->imax)		return 0;	return 1;}