Searched refs:sferror (Results 1 – 19 of 19) sorted by relevance
24 #undef sferror27 int sferror(reg Sfio_t* f) in sferror() function29 int sferror(f) in sferror()
157 if(n == now || sferror(f) || sfeof(f)) /* no progress */
171 if (sferror(f1)) { in cmp()181 if (sferror(f2)) { in cmp()196 if (sferror(f2)) { in cmp()
49 if(sfmove(in, tmp, SF_UNBOUND, -1) < 0 || !sfeof(in) || sferror(tmp)) in rev_line()
549 if (sferror(sfstdout)) in b_cat()
39 return sferror(f);
26 sferror
314 extern int sferror _ARG_((Sfio_t*));384 __INLINE__ int sferror(Sfio_t* f) { return __sf_error(f); } in sferror() function407 #define sferror(f) ( __sf_error(f) )
147 if(sferror(in)) in main()
541 if(sh_isstate(SH_INTERACTIVE) && !sferror(iop)) in exfile()544 !sferror(sfstderr) && (shp->fdstatus[fno]&IOTTY)) in exfile()553 if(errno==0 && sferror(iop) && --maxtry>0) in exfile()
2302 if(shp->exitval||sfeof(sfstdin)||sferror(sfstdin)) in sh_exec()
179 if(r==0 && (r=(sfeof(shp->sftable[fd])||sferror(shp->sftable[fd])))) in b_read()489 if(!sferror(iop) && sfgetc(iop) >=0) in sh_readline()
774 sferror;
524 #define ferror(f) sferror(f)
537 #define ferror(f) sferror(f)
1043 if (sferror(fp->fp)) in finddone()