OTPIPE
#define closepipe(x) (close(x[INPIPE]), close(x[OTPIPE]))
if (pipe(pv) < 0 || pv[INPIPE] < 0 || pv[OTPIPE] < 0)
savpipe = pv[OTPIPE];
close(pv[OTPIPE]);
close(pf1[OTPIPE]);
renamef(pf2[OTPIPE], 1);