Searched refs:coutpipe (Results 1 – 7 of 7) sorted by relevance
98 int coutpipe; member458 sh_close(sp->coutpipe); in sh_subjobcheck()460 sp->coutpipe = sp->cpipe = -1; in sh_subjobcheck()588 sp->coutpipe = shp->coutpipe; in sh_subshell()774 if(shp->coutpipe!=sp->coutpipe) in sh_subshell()776 sh_close(shp->coutpipe); in sh_subshell()781 shp->coutpipe = sp->coutpipe; in sh_subshell()
894 shp->coutpipe = shp->inpipe[1]; in sh_coexec()895 VALIDATE_FD(shp, shp->coutpipe); in sh_coexec()896 shp->fdptrs[shp->coutpipe] = &shp->coutpipe; in sh_coexec()3238 if((flags&FAMP) && shp->coutpipe>1) in _sh_fork()3239 sh_close(shp->coutpipe); in _sh_fork()3635 if(shp->coutpipe>=0 && shp->cpid) in coproc_init()3668 shp->coutpipe = shp->inpipe[1]; in coproc_init()3669 VALIDATE_FD(shp, shp->coutpipe); in coproc_init()3670 shp->fdptrs[shp->coutpipe] = &shp->coutpipe; in coproc_init()3921 sh_close(shp->coutpipe); in sh_ntfork()[all …]
483 sh_close(sh.coutpipe); in job_reap()486 sh.coutpipe = -1; in job_reap()1597 if(shp->coutpipe>=0 && lastpid && shp->cpid==lastpid) in job_wait()1599 sh_close(shp->coutpipe); in job_wait()1601 shp->cpipe[1] = shp->coutpipe = -1; in job_wait()
1306 dupfd = shp->coutpipe; in sh_redirect()2665 fd = shp->coutpipe; in sh_iogetiop()
1360 shp->coutpipe = -1; in sh_init()
216 int coutpipe; \
217 fd = shp->coutpipe; in b_print()