Searched refs:fdstatus (Results 1 - 8 of 8) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dio.c410 unsigned char *fdstatus = shp->fdstatus; local
431 shp->fdstatus = (unsigned char*)(&shp->fdptrs[n]);
433 memcpy(shp->fdstatus,fdstatus,max);
618 shp->fdstatus[fd] = shp->fdstatus[f2];
622 shp->fdstatus[fd] |= IOCLEX;
651 shp->fdstatus[f2] = (shp->fdstatus[f
[all...]
H A Dsubshell.c93 unsigned char fdstatus; member in struct:subshell
128 shp->fdstatus[fd] = shp->fdstatus[1]|IOCLEX;
154 shp->fdstatus[fd] = IOREAD|IOWRITE;
161 shp->fdstatus[1] = shp->fdstatus[fd];
162 shp->fdstatus[fd] = IOCLOSE;
601 sp->fdstatus = shp->fdstatus[1];
612 shp->fdstatus[
[all...]
H A Dmain.c381 shp->fdstatus[r] = shp->fdstatus[fno];
386 shp->fdstatus[fno] |= IOCLEX;
534 !sferror(sfstderr) && (shp->fdstatus[fno]&IOTTY))
575 (fno<0 || !(shp->fdstatus[fno]&(IOTTY|IONOSEEK)))
H A Dxec.c121 shp->fdstatus[subpipe[2]] = shp->fdstatus[1];
124 shp->fdstatus[1] = shp->fdstatus[subpipe[1]];
132 shp->fdstatus[i] = shp->fdstatus[1];
144 shp->fdstatus[1] = shp->fdstatus[subpipe[2]];
152 shp->fdstatus[n] = shp->fdstatus[
[all...]
H A Dpath.c537 shp->fdstatus[fd] |= IOCLEX;
1275 if(shp->infd>0 && (shp->fdstatus[shp->infd]&IOCLEX))
/ast/src/cmd/ksh93/bltins/
H A Dread.c147 if(!((r=shp->fdstatus[fd])&IOREAD) || !(r&(IOSEEK|IONOSEEK)))
282 if((shp->fdstatus[fd]&IOTTY) && !keytrap)
334 if(timeout || (shp->fdstatus[fd]&(IOTTY|IONOSEEK)))
801 if(timeout || (shp->fdstatus[fd]&(IOTTY|IONOSEEK)))
808 if((shp->fdstatus[fd]&IOTTY) && !keytrap)
H A Dprint.c292 else if(!(n=shp->fdstatus[fd]))
/ast/src/cmd/ksh93/include/
H A Ddefs.h246 unsigned char *fdstatus; \

Completed in 82 milliseconds