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

/illumos-gate/usr/src/lib/libshell/common/include/
H A Dio.h45 #define IOREAD 001 macro
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c492 if(status&IOREAD)
509 if(status&IOREAD)
742 if(!(mode&IOREAD) && ((flags==O_RDONLY) || (flags==O_RDWR)))
766 mode = (IOREAD|IOWRITE);
768 mode = IOREAD;
810 sh.fdstatus[pv[0]] = IONOSEEK|IOREAD;
1106 if(toclose<0 && shp->fdstatus[fd]&IOREAD)
1252 if(!(r&IOREAD))
1398 shp->fdstatus[fd] = IOREAD;
1597 if(mode==R_OK && (flags&IOREAD))
[all...]
H A Dargs.c789 sh.fdstatus[pv[0]] = IONOSEEK|IOREAD;
H A Dsubshell.c129 shp->fdstatus[fd] = IOREAD|IOWRITE;
H A Dxec.c545 shp->fdstatus[pv[0]] = IOREAD|IODUP|IOSEEK;
567 shp->fdstatus[pv[0]] = IOREAD|IODUP|IOSEEK;
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dread.c144 if(!((r=shp->fdstatus[fd])&IOREAD) || !(r&(IOSEEK|IONOSEEK)))
146 if(fd<0 || !(r&IOREAD))
H A Dprint.c270 n = SF_WRITE|((n&IOREAD)?SF_READ:0);

Completed in 87 milliseconds