Searched refs:cpipe (Results 1 – 8 of 8) sorted by relevance
99 int cpipe; member459 sh_close(sp->cpipe); in sh_subjobcheck()460 sp->coutpipe = sp->cpipe = -1; in sh_subjobcheck()589 sp->cpipe = shp->cpipe[1]; in sh_subshell()777 sh_close(shp->cpipe[1]); in sh_subshell()780 shp->cpipe[1] = sp->cpipe; in sh_subshell()
1656 if(shp->cpipe[0]<0 || shp->cpipe[1] < 0) in sh_exec()1658 sh_copipe(shp,shp->outpipe=shp->cpipe,0); in sh_exec()1659 VALIDATE_FD(shp, shp->cpipe[0]); in sh_exec()1660 shp->fdptrs[shp->cpipe[0]] = shp->cpipe; in sh_exec()3638 if(shp->cpipe[0]<=0 || shp->cpipe[1]<=0) in coproc_init()3641 sh_pclose(shp->cpipe); in coproc_init()3642 sh_pipe(shp->cpipe); in coproc_init()3643 if((outfd=shp->cpipe[1]) < 10) in coproc_init()3645 int fd=fcntl(shp->cpipe[1],F_DUPFD,10); in coproc_init()3653 shp->cpipe[1] = fd; in coproc_init()[all …]
484 sh_close(sh.cpipe[1]); in job_reap()485 sh.cpipe[1] = -1; in job_reap()1600 sh_close(shp->cpipe[1]); in job_wait()1601 shp->cpipe[1] = shp->coutpipe = -1; in job_wait()
1308 dupfd = shp->cpipe[0]; in sh_redirect()1326 else if(dupfd==shp->cpipe[0]) in sh_redirect()1327 sh_pclose(shp->cpipe); in sh_redirect()2667 fd = shp->cpipe[0]; in sh_iogetiop()
1273 if(shp->cpipe[0]>0) in exscript()1274 sh_pclose(shp->cpipe); in exscript()
1359 shp->cpipe[0] = -1; in sh_init()
111 if((fd = shp->cpipe[0])<=0) in b_read()181 if(fd == shp->cpipe[0] && errno!=EINTR) in b_read()182 sh_pclose(shp->cpipe); in b_read()
215 int cpipe[3]; \