Searched refs:cpipe (Results 1 – 8 of 8) sorted by relevance
90 int cpipe; member454 sh_close(sp->cpipe); in sh_subjobcheck()455 sp->coutpipe = sp->cpipe = -1; in sh_subjobcheck()534 sp->cpipe = shp->cpipe[1]; in sh_subshell()714 sh_close(shp->cpipe[1]); in sh_subshell()717 shp->cpipe[1] = sp->cpipe; in sh_subshell()
2833 if(shp->cpipe[0]<=0 || shp->cpipe[1]<=0) in coproc_init()2836 sh_pclose(shp->cpipe); in coproc_init()2837 sh_pipe(shp->cpipe); in coproc_init()2838 if((outfd=shp->cpipe[1]) < 10) in coproc_init()2840 int fd=fcntl(shp->cpipe[1],F_DUPFD,10); in coproc_init()2846 shp->cpipe[1] = fd; in coproc_init()2849 if(fcntl(*shp->cpipe,F_SETFD,FD_CLOEXEC)>=0) in coproc_init()2850 shp->fdstatus[shp->cpipe[0]] |= IOCLEX; in coproc_init()2851 shp->fdptrs[shp->cpipe[0]] = shp->cpipe; in coproc_init()2853 if(fcntl(shp->cpipe[1],F_SETFD,FD_CLOEXEC) >=0) in coproc_init()[all …]
349 sh_close(sh.cpipe[1]); in job_reap()350 sh.cpipe[1] = -1; in job_reap()1347 sh_close(sh.cpipe[1]); in job_wait()1348 sh.cpipe[1] = sh.coutpipe = -1; in job_wait()
1091 dupfd = shp->cpipe[0]; in sh_redirect()1108 else if(dupfd==shp->cpipe[0]) in sh_redirect()1109 sh_pclose(shp->cpipe); in sh_redirect()2348 fd = shp->cpipe[0]; in sh_iogetiop()
1233 if(shp->cpipe[0]>0) in exscript()1234 sh_pclose(shp->cpipe); in exscript()
1088 shp->cpipe[0] = -1; in sh_init()
108 if((fd = shp->cpipe[0])<=0) in b_read()177 if(fd == shp->cpipe[0]) in b_read()179 sh_pclose(shp->cpipe); in b_read()
182 int cpipe[2]; \