Searched refs:sferror (Results 1 - 25 of 39) sorted by relevance

12

/ast/src/lib/libast/sfio/
H A D_sferror.c24 #undef sferror macro
27 int sferror(reg Sfio_t* f) function
29 int sferror(f)
H A Dsfreserve.c157 if(n == now || sferror(f) || sfeof(f)) /* no progress */
/ast/src/lib/libast/stdio/
H A Dferror.c39 return sferror(f);
/ast/src/cmd/tests/sfio/
H A Dtflags.c28 if(sfeof(f) || sferror(f))
32 if(sfeof(f) || sferror(f))
36 if(sfeof(f) || sferror(f))
49 if(sfeof(f) || sferror(f))
57 if(sfeof(f) || sferror(f))
61 if(sfeof(f) || sferror(f))
84 if(sferror(sfstdout))
H A Dtstatus.c42 if(sferror(ip))
43 terror("sferror(ip) not expected");
44 if(sferror(op))
45 terror("sferror(op) not expected");
H A Dtmove.c54 if(sferror(sfstdin))
56 if(sferror(sfstdout))
70 if(sferror(sfstdin))
72 if(sferror(sfstdout))
H A Dtsync.c116 if(sferror(sfstdout) )
122 if(sferror(sfstdout) )
H A Dtstack.c131 !sfeof(sfstdin) || sferror(sfstdout))
/ast/src/lib/libdss/
H A Ddssmagic.c51 if (sferror(sp))
/ast/src/cmd/codex/
H A Dcodex.c284 if (sfmove(ip, op, SF_UNBOUND, -1) < 0 || !sfeof(ip) || sferror(ip))
288 if (sfsync(op) || sferror(op))
/ast/src/lib/libcmd/
H A Drevlib.c49 if(sfmove(in, tmp, SF_UNBOUND, -1) < 0 || !sfeof(in) || sferror(tmp))
H A Dcat.c549 if (sferror(sfstdout))
/ast/src/lib/libpz/
H A Dpzinflate.c115 else if (sfmove(pz->io, op, SF_UNBOUND, -1) < 0 || sferror(pz->io))
226 if ((m = sfgetu(pz->io)) && !sferror(pz->io) && !sfeof(pz->io) && (pat = (unsigned char*)sfreserve(pz->io, m, 0)))
232 if (sferror(op))
H A Dpzhead.c278 return sferror(op) ? -1 : 0;
314 while ((n = sfgetu(pz->io)) && !sferror(pz->io) && !sfeof(pz->io) && (s = (unsigned char*)sfreserve(pz->io, n, 0)))
H A Dpzsplit.c201 if (sferror(op))
238 if (sfwrite(op, sfstrbase(ip->sp), n) != n || sferror(op))
270 if (sferror(op))
341 if (sferror(op))
445 if (sferror(op))
662 if (sferror(op))
H A Dpzread.c133 if ((m = sfgetu(pz->io)) && !sferror(pz->io) && !sfeof(pz->io) && (x = (unsigned char*)sfreserve(pz->io, m, 0)))
H A Dpzdeflate.c86 if (r < 0 || sferror(pz->io))
/ast/src/lib/libardir/
H A Dar-local.c131 if (sferror(state->sp))
/ast/src/cmd/ksh93/sh/
H A Dshcomp.c147 if(sferror(in))
H A Dmain.c531 if(sh_isstate(SH_INTERACTIVE) && !sferror(iop))
534 !sferror(sfstderr) && (shp->fdstatus[fno]&IOTTY))
543 if(errno==0 && sferror(iop) && --maxtry>0)
/ast/src/cmd/std/
H A Diconv.c237 if (!id.errors && (!sfeof(ip) || sferror(ip)))
/ast/src/lib/libast/include/
H A Dsfio.h314 extern int sferror _ARG_((Sfio_t*));
384 __INLINE__ int sferror(Sfio_t* f) { return __sf_error(f); } function
407 #define sferror(f) ( __sf_error(f) )
/ast/src/cmd/kshlib/cmdtst/
H A Dgrep.c497 else if (sferror(input) && errno != EISDIR)
547 if ((sfvalue(input) || sferror(input)) && errno != EISDIR)
597 if ((sfvalue(input) || sferror(input)) && errno != EISDIR)
/ast/src/cmd/re/
H A Dgrep.c384 if (sferror(input) && errno != EISDIR)
465 if ((sfvalue(input) || sferror(input)) && errno != EISDIR)
510 if ((sfvalue(input) || sferror(input)) && errno != EISDIR)
/ast/src/cmd/ksh93/bltins/
H A Dread.c179 if(r==0 && (r=(sfeof(shp->sftable[fd])||sferror(shp->sftable[fd]))))
489 if(!sferror(iop) && sfgetc(iop) >=0)

Completed in 84 milliseconds

12