Home
last modified time | relevance | path

Searched refs:cpipe (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c99 int cpipe; member
459 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()
H A Dxec.c1656 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 …]
H A Djobs.c484 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()
H A Dio.c1308 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()
H A Dpath.c1273 if(shp->cpipe[0]>0) in exscript()
1274 sh_pclose(shp->cpipe); in exscript()
H A Dinit.c1359 shp->cpipe[0] = -1; in sh_init()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dread.c111 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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h215 int cpipe[3]; \