Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dsubshell.c90 int cpipe; member
454 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()
H A Dxec.c2833 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 …]
H A Djobs.c349 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()
H A Dio.c1091 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()
H A Dpath.c1233 if(shp->cpipe[0]>0) in exscript()
1234 sh_pclose(shp->cpipe); in exscript()
H A Dinit.c1088 shp->cpipe[0] = -1; in sh_init()
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dread.c108 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()
/titanic_41/usr/src/lib/libshell/common/include/
H A Ddefs.h182 int cpipe[2]; \