Home
last modified time | relevance | path

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

12345678910>>...25

/netbsd-src/tests/usr.bin/xlint/lint1/
H A Dd_c99_bool_strict_syshdr.c302 int ferror(FILE *);
314 if (ferror(f)) in controlling_expression()
320 if (!ferror(f)) in controlling_expression()
330 * the expression 'ferror(stdio_files[1])'. in controlling_expression()
338 * Seen in bin/echo/echo.c, function main, call to ferror. in controlling_expression()
341 if (ferror( in controlling_expression()
359 if (ferror( in controlling_expression()
374 if (ferror( in controlling_expression()
400 if (ferror( in controlling_expression()
/netbsd-src/external/gpl2/rcs/dist/src/
H A Dident.c154 if (ferror(stdout) || fclose(stdout)!=0) {
194 if (ferror(stdout))
199 while (c != EOF || ! (feof(file)|ferror(file))) {
203 if (ferror(stdout))
209 if (ferror(file) || fclose(file) != 0) {
236 if (c == EOF && feof(fp) | ferror(fp))
/netbsd-src/external/gpl3/binutils/dist/zlib/examples/
H A Dzpipe.c55 if (ferror(source)) { in def()
70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def()
113 if (ferror(source)) { in inf()
136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in inf()
156 if (ferror(stdin)) in zerr()
158 if (ferror(stdout)) in zerr()
/netbsd-src/external/gpl3/gdb.old/dist/zlib/examples/
H A Dzpipe.c55 if (ferror(source)) { in def()
70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def()
113 if (ferror(source)) { in inf()
136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in inf()
156 if (ferror(stdin)) in zerr()
158 if (ferror(stdout)) in zerr()
/netbsd-src/external/gpl3/gdb/dist/zlib/examples/
H A Dzpipe.c55 if (ferror(source)) { in def()
70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def()
113 if (ferror(source)) { in inf()
136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in inf()
156 if (ferror(stdin)) in zerr()
158 if (ferror(stdout)) in zerr()
/netbsd-src/external/gpl3/binutils.old/dist/zlib/examples/
H A Dzpipe.c55 if (ferror(source)) { in def()
70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def()
113 if (ferror(source)) { in inf()
136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in inf()
156 if (ferror(stdin)) in zerr()
158 if (ferror(stdout)) in zerr()
/netbsd-src/common/dist/zlib/examples/
H A Dzpipe.c55 if (ferror(source)) { in def()
70 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in def()
113 if (ferror(source)) { in inf()
136 if (fwrite(out, 1, have, dest) != have || ferror(dest)) { in inf()
156 if (ferror(stdin)) in zerr()
158 if (ferror(stdout)) in zerr()
/netbsd-src/usr.bin/mail/
H A Dquit.c91 if (ferror(obuf)) { in writeback()
113 if (!ferror(obuf)) in writeback()
115 if (ferror(obuf)) { in writeback()
197 if (ferror(obuf)) { in edstop()
241 if (ferror(obuf)) { in edstop()
346 if (ferror(rbuf)) { in quit()
455 if (ferror(obuf)) { in quit()
506 if (ferror(obuf)) in quit()
513 if (!ferror(obuf)) in quit()
515 if (ferror(obuf)) { in quit()
[all …]
/netbsd-src/external/bsd/nvi/dist/ex/
H A Dex_mkexrc.c84 if (seq_save(sp, fp, "abbreviate ", SEQ_ABBREV) || ferror(fp)) in ex_mkexrc()
86 if (seq_save(sp, fp, "map ", SEQ_COMMAND) || ferror(fp)) in ex_mkexrc()
88 if (seq_save(sp, fp, "map! ", SEQ_INPUT) || ferror(fp)) in ex_mkexrc()
90 if (opts_save(sp, fp) || ferror(fp)) in ex_mkexrc()
/netbsd-src/usr.bin/tail/
H A Dforward.c108 if (ferror(fp)) { in forward()
120 if (ferror(fp)) { in forward()
139 if (ferror(fp)) { in forward()
161 if (ferror(fp)) { in forward()
186 if (ferror(fp)) { in forward()
/netbsd-src/external/cddl/osnet/lib/libzfs/
H A Dfsshare.c203 if (oldfd != NULL && ferror(oldfd) != 0) { in fsshare_main()
204 error = ferror(oldfd); in fsshare_main()
207 if (ferror(newfd) != 0) { in fsshare_main()
208 error = ferror(newfd); in fsshare_main()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/config/mingw/
H A Dmsvc.c131 #ifdef ferror
132 #undef ferror
135 ferror (FILE *fp) in ferror() function
/netbsd-src/external/lgpl3/mpc/dist/tests/
H A Dtpl_native.c40 if (ferror (datafile_context->fd) || n == 0 || n == EOF) in tpl_read_int()
72 if (ferror (datafile_context->fd) || n == 0 || n == EOF) in tpl_read_ui()
105 if (ferror (datafile_context->fd) || n == 0 || n == EOF) in tpl_read_si()
/netbsd-src/bin/cat/
H A Dcat.c189 if (ferror(stdout)) in cook_buf()
193 if (ferror(stdout)) in cook_buf()
225 if (ferror(fp)) { in cook_buf()
230 if (ferror(stdout)) in cook_buf()
/netbsd-src/lib/libc/stdio/
H A DMakefile.inc7 SRCS+= clrerr.c dprintf.c fclose.c fdopen.c feof.c ferror.c \
28 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
34 MLINKS+=ferror.3 clearerr.3 ferror.3 feof.3 ferror.3 fileno.3
H A Dferror.c52 #undef ferror
55 ferror(FILE *fp) in ferror() function
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/gnulib-lib/
H A Dunlocked-io.h52 # undef ferror
53 # define ferror(x) ferror_unlocked (x) macro
55 # define ferror_unlocked(x) ferror (x)
/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Dunlocked-io.h52 # undef ferror
53 # define ferror(x) ferror_unlocked (x) macro
55 # define ferror_unlocked(x) ferror (x)
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dunlocked-io.h52 # undef ferror
53 # define ferror(x) ferror_unlocked (x) macro
55 # define ferror_unlocked(x) ferror (x)
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/
H A Dunlocked-io.h52 # undef ferror
53 # define ferror(x) ferror_unlocked (x) macro
55 # define ferror_unlocked(x) ferror (x)
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dstdio-write.c56 if (errno == ENOSPC && ferror (stream)) \
85 if (GetLastError () == ERROR_NO_DATA && ferror (stream)) \
106 if (ferror (stream)) \
/netbsd-src/external/public-domain/xz/dist/src/common/
H A Dtuklib_exit.c29 const int ferror_err = ferror(stdout); in tuklib_exit()
50 const int ferror_err = ferror(stderr); in tuklib_exit()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/
H A Dx-rst.c120 if (c == EOF && ferror (f)) in extract_rst()
166 if (c == EOF && ferror (f)) in extract_rst()
229 if (ferror (f)) in extract_rst()
/netbsd-src/usr.bin/config/
H A Dmkheaders.c187 if (ferror(fp)) in emitcnt()
281 if (ferror(fp)) in defopts_print()
373 if (ferror(tfp)) in emitlocs()
412 if (ferror(tfp)) in emitioconfh()
454 if (ferror(fp)) in emittime()
/netbsd-src/external/bsd/bzip2/dist/
H A Dbzip2.c344 if (ferror(stream)) goto errhandler_io; in compressStream()
345 if (ferror(zStream)) goto errhandler_io; in compressStream()
357 if (ferror(stream)) goto errhandler_io; in compressStream()
368 if (ferror(zStream)) goto errhandler_io; in compressStream()
380 if (ferror(stream)) goto errhandler_io; in compressStream()
452 if (ferror(stream)) goto errhandler_io; in uncompressStream()
453 if (ferror(zStream)) goto errhandler_io; in uncompressStream()
469 if (ferror(stream)) goto errhandler_io; in uncompressStream()
486 if (ferror(zStream)) goto errhandler_io; in uncompressStream()
495 if (ferror(stream)) goto errhandler_io; in uncompressStream()
[all …]

12345678910>>...25