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

/ast/src/cmd/ksh93/include/
H A Dio.h45 #define IOREAD 001 macro
/ast/src/cmd/ie/
H A Dhistory.c997 fp->flag |= (IORW|IOREAD);
1038 if(!(fp->flag&IOREAD))
1044 if(fd==FCIO && ptrname==0 && (fp->flag&IOREAD) && offset<hoffset)
1060 fp->flag &= ~(IOWRT|IOREAD);
1090 fp->flag |= IOREAD;
1091 if (!(fp->flag&IOREAD))
1112 fp->flag &= ~IOREAD;
1133 if(fp && !(fp->flag&IOREAD))
H A Dio.h143 #define IOREAD 0001 macro
H A Deditlib.c279 fp->flag &= ~(IOREAD|IOERR|IOEOF);
/ast/src/cmd/ksh93/sh/
H A Dio.c537 if(status&IOREAD)
559 if(status&IOREAD)
822 if(!(mode&IOREAD) && ((flags==O_RDONLY) || (flags==O_RDWR)))
846 mode = (IOREAD|IOWRITE);
848 mode = IOREAD;
896 shp->fdstatus[pv[0]] = IONOSEEK|IOREAD;
919 shp->fdstatus[pv[0]] = IONOSEEK|IOREAD;
941 shp->fdstatus[pv[out]] = (out?IOWRITE:IOREAD);
1302 if(toclose<0 && shp->fdstatus[fd]&IOREAD)
1449 if(!(r&IOREAD))
[all...]
H A Dsubshell.c154 shp->fdstatus[fd] = IOREAD|IOWRITE;
/ast/src/cmd/ksh93/bltins/
H A Dread.c147 if(!((r=shp->fdstatus[fd])&IOREAD) || !(r&(IOSEEK|IONOSEEK)))
149 if(fd<0 || !(r&IOREAD))
H A Dprint.c304 n = SF_WRITE|((n&IOREAD)?SF_READ:0);

Completed in 28 milliseconds