Lines Matching refs:pv
803 int sh_pipe(register int pv[])
806 if(pipe(fd)<0 || (pv[0]=fd[0])<0 || (pv[1]=fd[1])<0)
808 pv[0] = sh_iomovefd(pv[0]);
809 pv[1] = sh_iomovefd(pv[1]);
810 sh.fdstatus[pv[0]] = IONOSEEK|IOREAD;
811 sh.fdstatus[pv[1]] = IONOSEEK|IOWRITE;
812 sh_subsavefd(pv[0]);
813 sh_subsavefd(pv[1]);
902 void sh_pclose(register int pv[])
904 if(pv[0]>=2)
905 sh_close(pv[0]);
906 if(pv[1]>=2)
907 sh_close(pv[1]);
908 pv[0] = pv[1] = -1;