Searched refs:IONOSEEK (Results 1 – 6 of 6) sorted by relevance
49 #define IONOSEEK 020 macro52 #define IOCLOSE (IOSEEK|IONOSEEK)
144 if(!((r=shp->fdstatus[fd])&IOREAD) || !(r&(IOSEEK|IONOSEEK))) in b_read()310 if(timeout || (shp->fdstatus[fd]&(IOTTY|IONOSEEK))) in sh_readline()714 if(timeout || (shp->fdstatus[fd]&(IOTTY|IONOSEEK))) in sh_readline()
517 else if(status&IONOSEEK) in sh_iostream()810 sh.fdstatus[pv[0]] = IONOSEEK|IOREAD; in sh_pipe()811 sh.fdstatus[pv[1]] = IONOSEEK|IOWRITE; in sh_pipe()1218 if(!(r&(IOSEEK|IONOSEEK))) in sh_redirect()1229 if(r&IONOSEEK) in sh_redirect()1817 if(!(n&(IOSEEK|IONOSEEK))) in sh_iocheckfd()1832 n |= IONOSEEK; in sh_iocheckfd()1847 n |= IONOSEEK; in sh_iocheckfd()
789 sh.fdstatus[pv[0]] = IONOSEEK|IOREAD; in arg_pipe()790 sh.fdstatus[pv[1]] = IONOSEEK|IOWRITE; in arg_pipe()
143 if(sp && (shp->fdstatus[1]==IOCLOSE || (!shp->subshare && !(shp->fdstatus[1]&IONOSEEK)))) in sh_subtmpfile()164 …if(fd==1 || ((shp->fdstatus[fd]&(IONOSEEK|IOSEEK|IOWRITE))!=(IOSEEK|IOWRITE)) || fstat(fd,&statx)<… in sh_subtmpfile()
594 (fno<0 || !(shp->fdstatus[fno]&(IOTTY|IONOSEEK))) in exfile()