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

/illumos-gate/usr/src/lib/libshell/common/include/
H A Dio.h51 #define IOCLEX 0100 macro
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c567 shp->fdstatus[fd] |= IOCLEX;
596 shp->fdstatus[f2] = (shp->fdstatus[f1]&~IOCLEX);
603 shp->fdstatus[f2] = (shp->fdstatus[f1]&~IOCLEX);
794 sh.fdstatus[fdnew] = (sh.fdstatus[fdold]&~IOCLEX);
839 int r, fd=sffileno(sp), close_exec = shp->fdstatus[fd]&IOCLEX;
842 shp->fdstatus[sffileno(sp)] |= IOCLEX;
867 shp->fdstatus[sffileno(sp)] &= ~IOCLEX;
1105 shp->fdstatus[fd] = (shp->fdstatus[dupfd]&~IOCLEX);
1336 shp->fdstatus[fd] |= IOCLEX;
1553 if(shp->fdstatus[origfd]&IOCLEX)
[all...]
H A Dxec.c1004 if((shp->fdstatus[fd]&IOCLEX)&&fd!=shp->infd)
2843 shp->fdstatus[fd] = (shp->fdstatus[outfd]&~IOCLEX);
2850 shp->fdstatus[shp->cpipe[0]] |= IOCLEX;
2854 shp->fdstatus[shp->cpipe[1]] |= IOCLEX;
2861 shp->fdstatus[shp->outpipe[0]] |= IOCLEX;
2924 if(sh.fdstatus[i]&IOCLEX && i!=pin && i!=pout)
2953 if(sh.fdstatus[i]&IOCLEX && i!=pin && i!=pout)
3046 shp->fdstatus[fd] |= IOCLEX;
3053 shp->fdstatus[shp->outpipe[0]] |= IOCLEX;
3092 shp->fdstatus[shp->inpipe[1]] &= ~IOCLEX;
[all...]
H A Dsubshell.c114 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX;
628 shp->fdstatus[fd] = (shp->fdstatus[1]|IOCLEX);
H A Dmain.c405 shp->fdstatus[fno] |= IOCLEX;
H A Dpath.c580 shp->fdstatus[fd] |= IOCLEX;
1241 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX))

Completed in 81 milliseconds