Searched refs:IOCLEX (Results 1 - 6 of 6) sorted by relevance

/ast/src/cmd/ksh93/include/
H A Dio.h51 #define IOCLEX 0100 macro
/ast/src/cmd/ksh93/sh/
H A Dio.c622 shp->fdstatus[fd] |= IOCLEX;
651 shp->fdstatus[f2] = (shp->fdstatus[f1]&~IOCLEX);
658 shp->fdstatus[f2] = (shp->fdstatus[f1]&~IOCLEX);
879 shp->fdstatus[fdnew] = (shp->fdstatus[fdold]&~IOCLEX);
940 shp->fdstatus[pv[out]] |= IOCLEX;
971 shp->fdstatus[pv[out]] |= IOCLEX;
1000 int r, fd=sffileno(sp), close_exec = shp->fdstatus[fd]&IOCLEX;
1003 shp->fdstatus[sffileno(sp)] |= IOCLEX;
1028 shp->fdstatus[sffileno(sp)] &= ~IOCLEX;
1301 shp->fdstatus[fd] = (shp->fdstatus[dupfd]&~IOCLEX);
[all...]
H A Dxec.c1387 if((shp->fdstatus[fd]&IOCLEX)&&fd!=shp->infd)
3628 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX);
3635 shp->fdstatus[shp->cpipe[0]] |= IOCLEX;
3639 shp->fdstatus[shp->cpipe[1]] |= IOCLEX;
3646 shp->fdstatus[shp->outpipe[0]] |= IOCLEX;
3692 if(shp->fdstatus[i]&IOCLEX && i!=pin && i!=pout)
3721 if(shp->fdstatus[i]&IOCLEX && i!=pin && i!=pout)
3816 shp->fdstatus[fd] |= IOCLEX;
3827 shp->fdstatus[shp->outpipe[0]] |= IOCLEX;
3866 shp->fdstatus[shp->inpipe[1]] &= ~IOCLEX;
[all...]
H A Dsubshell.c128 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX;
686 shp->fdstatus[fd] = (shp->fdstatus[1]|IOCLEX);
H A Dmain.c386 shp->fdstatus[fno] |= IOCLEX;
H A Dpath.c537 shp->fdstatus[fd] |= IOCLEX;
1275 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX))

Completed in 34 milliseconds