Home
last modified time | relevance | path

Searched refs:ferror (Results 1 – 25 of 135) sorted by relevance

123456

/illumos-gate/usr/src/contrib/ast/src/lib/libast/stdio/
H A Dferror.c28 NoN(ferror)
32 #undef ferror
35 ferror(Sfio_t* f)
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Deftwrite.c149 if (ferror(tfp)) in eftwrite()
163 if (ferror(fp)) in eftwrite()
177 if (cc != fwrite(buf, 1, cc, fp) || ferror(fp)) in eftwrite()
181 if (ferror(tfp)) in eftwrite()
H A Deftread.c176 if (cc != fwrite(buf, 1, cc, tfp) || ferror(tfp)) in eftread_fopen()
179 if (ferror(fp)) in eftread_fopen()
/illumos-gate/usr/src/cmd/bnu/
H A Duuencode.c168 if (ferror(stdout) != 0 || fclose(stdout) != 0) { in main()
216 if (ferror(out)) { in encode()
256 if (ferror(out)) { in encode()
299 if (ferror(out)) { in encode()
H A Duux.c468 ASSERT(fflush(fpd) != EOF && ferror(fpd) == 0, Ct_WRITE, dfile, errno);
756 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno);
831 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, dfile, errno);
849 ASSERT(fflush(fp) != EOF && ferror(fp) == 0, Ct_WRITE, t2file, errno);
887 ASSERT(fflush(fprx) != EOF && ferror(fprx) == 0, Ct_WRITE, rxfile, errno);
912 ASSERT(fflush(fpc) != EOF && ferror(fpc) == 0, Ct_WRITE, cfile, errno);
H A Dgename.c133 ASSERT(ferror(fp) == 0, Ct_WRITE, seqfile, errno);
135 ASSERT(ferror(fp) == 0, Ct_CLOSE, seqfile, errno);
H A Dcpmv.c177 return (ferror(fp1) || ferror(fp2) ? FAIL : SUCCESS);
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dferror.c39 #undef ferror
42 ferror(FILE *iop) in ferror() function
/illumos-gate/usr/src/cmd/xstr/
H A Dxstr.c134 if (ferror(stdin)) { in process()
190 if (ferror(stdout)) in process()
217 if (ferror(stdin)) { in yankstr()
289 return ((feof(file) || ferror(file)) ? 0 : 1); in fgetNUL()
362 if (ferror(mesgwrit)) { in flushsh()
419 if (ferror(strf)) { in xsdotc()
/illumos-gate/usr/src/cmd/tail/
H A Dforward.c113 if (ferror(fp)) { in forward()
125 if (ferror(fp)) { in forward()
145 if (ferror(fp)) { in forward()
165 if (ferror(fp)) { in forward()
180 if (ferror(fp)) { in forward()
254 if (ferror(file->fp)) { in show()
H A Dread.c75 if (ferror(fp)) { in bytes()
169 if (ferror(fp)) { in lines()
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c625 ferror(inp)) { in main()
855 if (ferror(inp) || jmpval == 2) { in main()
865 if (ferror(outp) || jmpval == 3) { in main()
993 ferror(outp)) { in compress()
1009 if ((ent = getc(fin)) == EOF && ferror(fin)) { in compress()
1088 if (ferror(fin) != 0) { in compress()
1207 ferror(outp)) { in output()
1257 ferror(outp)) { in output()
1268 if (ferror(outp)) in output()
1302 if (putc((char)finchar, outp) == EOF && ferror(outp)) { in decompress()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dlex_var.h20 if ( c == EOF && ferror( yyin ) ) \
26 && ferror( yyin ) ) \
/illumos-gate/usr/src/cmd/tr/
H A Dtr.c152 if (ferror(stdin)) in main()
170 if (ferror(stdin)) in main()
187 if (ferror(stdin)) in main()
344 if (ferror(stdin)) in main()
/illumos-gate/usr/src/head/iso/
H A Dstdio_iso.h260 extern int ferror(FILE *);
310 inline int ferror(FILE *_p) { return _p->_flag & _IOERR; } in ferror() function
315 #define ferror(p) ((p)->_flag & _IOERR) macro
/illumos-gate/usr/src/common/ficl/
H A Dfileaccess.c243 pushIor(vm, ferror(ff->f) == 0); in ficlPrimitiveReadFile()
267 error = ferror(ff->f); in ficlPrimitiveReadLine()
296 pushIor(vm, ferror(ff->f) == 0); in ficlPrimitiveWriteFile()
310 pushIor(vm, ferror(ff->f) == 0); in ficlPrimitiveWriteLine()
/illumos-gate/usr/src/ucbhead/
H A Dstdio.h205 extern int ferror(FILE *);
240 #define ferror(p) ((p)->_flag & _IOERR) macro
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c160 if (ferror(df)) in extractdirs()
170 if (ferror(mf)) in extractdirs()
451 if (ferror(df)) in putent()
470 if (ferror(df)) in flushent()
749 if (ferror(smf)) in setdirmodes()
885 if (ferror(mf)) in nodeflush()
H A Dsymtab.c589 for (i = ROOTINO; !ferror(fp) && i < maxino; i++) { in dumpsymtable()
591 !ferror(fp) && ep != NIL; in dumpsymtable()
619 for (i = 0; !ferror(fp) && i < (ino_t)entrytblsize; i++) { in dumpsymtable()
627 if (!ferror(fp)) { in dumpsymtable()
639 if (ferror(fp)) { in dumpsymtable()
/illumos-gate/usr/src/cmd/mailx/
H A Dsend.c125 if (ferror(obuf)) in msend()
188 if (ferror(obuf)) in msend()
223 if (ferror(obuf)) in msend()
228 if (ferror(obuf)) in msend()
630 if (ferror(fi)) { in infix()
/illumos-gate/usr/src/boot/include/
H A Dstdio.h240 int ferror(FILE *);
494 #define ferror(p) (!__isthreaded ? __sferror(p) : (ferror)(p)) macro
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dkrbfileio.c47 if ((fflush(fp) == EOF) || ferror(fp) || (fsync(fileno(fp)) == -1)) { in krb5_sync_disk_file()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftpsubs.c161 if (ferror(file)) in read_ahead()
242 if (ferror(file)) { in write_behind()
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib.c1118 if (ferror(f)) in BZ_API()
1162 if (ferror(bzf->handle)) in BZ_API()
1182 if (n != n2 || ferror(bzf->handle)) in BZ_API()
1221 if (ferror(bzf->handle)) in BZ_API()
1241 if (n != n2 || ferror(bzf->handle)) in BZ_API()
1249 if ( !abandon && !ferror ( bzf->handle ) ) { in BZ_API()
1251 if (ferror(bzf->handle)) in BZ_API()
1291 if (ferror(f)) in BZ_API()
1370 if (ferror(bzf->handle)) in BZ_API()
1376 if (ferror(bzf->handle)) in BZ_API()
/illumos-gate/usr/src/ucbcmd/sum/
H A Dsum.c53 if (ferror(f)) { in main()

123456