Searched refs:coutpipe (Results 1 – 14 of 14) sorted by relevance
89 int coutpipe; member453 sh_close(sp->coutpipe); in sh_subjobcheck()455 sp->coutpipe = sp->cpipe = -1; in sh_subjobcheck()533 sp->coutpipe = shp->coutpipe; in sh_subshell()711 if(shp->coutpipe!=sp->coutpipe) in sh_subshell()713 sh_close(shp->coutpipe); in sh_subshell()718 shp->coutpipe = sp->coutpipe; in sh_subshell()
348 sh_close(sh.coutpipe); in job_reap()351 sh.coutpipe = -1; in job_reap()1344 if(sh.coutpipe>=0 && sh.cpid==lastpid) in job_wait()1346 sh_close(sh.coutpipe); in job_wait()1348 sh.cpipe[1] = sh.coutpipe = -1; in job_wait()
2492 if((flags&FAMP) && shp->coutpipe>1) in _sh_fork()2493 sh_close(shp->coutpipe); in _sh_fork()2830 if(shp->coutpipe>=0 && shp->cpid) in coproc_init()2858 shp->coutpipe = shp->inpipe[1]; in coproc_init()2859 shp->fdptrs[shp->coutpipe] = &shp->coutpipe; in coproc_init()3117 sh_close(shp->coutpipe); in sh_ntfork()3120 shp->coutpipe = -1; in sh_ntfork()
1089 dupfd = shp->coutpipe; in sh_redirect()2346 fd = shp->coutpipe; in sh_iogetiop()
1089 shp->coutpipe = -1; in sh_init()
98 int coutpipe; member 458 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() [all...]
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] in coproc_init() [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()
183 int coutpipe; \
216 int coutpipe; \
174 fd = shp->coutpipe; in b_print()
208 fd = shp->coutpipe; in b_print()