Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-12.1/usr.sbin/nscd/
H A Dlog.c64 char *ferror; in __log_err() local
66 ferror = NULL; in __log_err()
68 vasprintf(&ferror, error, ap); in __log_err()
70 assert(ferror != NULL); in __log_err()
72 printf("E%d from %s: %s\n", level, sender, ferror); in __log_err()
76 syslog(LOG_ERR, "nscd error (from %s): %s", sender, ferror); in __log_err()
78 free(ferror); in __log_err()
/freebsd-12.1/lib/libc/stdio/
H A DMakefile.inc9 feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \
37 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
47 MLINKS+=ferror.3 ferror_unlocked.3 \
48 ferror.3 clearerr.3 ferror.3 clearerr_unlocked.3 \
49 ferror.3 feof.3 ferror.3 feof_unlocked.3 \
50 ferror.3 fileno.3 ferror.3 fileno_unlocked.3
H A Dferror.c46 #undef ferror
50 ferror(FILE *fp) in ferror() function
/freebsd-12.1/contrib/nvi/ex/
H A Dex_mkexrc.c80 if (seq_save(sp, fp, "abbreviate ", SEQ_ABBREV) || ferror(fp)) in ex_mkexrc()
82 if (seq_save(sp, fp, "map ", SEQ_COMMAND) || ferror(fp)) in ex_mkexrc()
84 if (seq_save(sp, fp, "map! ", SEQ_INPUT) || ferror(fp)) in ex_mkexrc()
86 if (opts_save(sp, fp) || ferror(fp)) in ex_mkexrc()
/freebsd-12.1/lib/libc/tests/stdio/
H A Dgetdelim_test.c106 ATF_REQUIRE(!ferror(fp)); in ATF_TC_BODY()
127 ATF_REQUIRE(ferror(stdout)); in ATF_TC_BODY()
143 ATF_REQUIRE(ferror(fp)); in ATF_TC_BODY()
168 ATF_REQUIRE(!ferror(fp)); in ATF_TC_BODY()
196 ATF_REQUIRE(!ferror(fp)); in ATF_TC_BODY()
220 ATF_REQUIRE(!ferror(fp)); in ATF_TC_BODY()
/freebsd-12.1/usr.bin/tail/
H A Dforward.c117 if (ferror(fp)) { in forward()
129 if (ferror(fp)) { in forward()
148 if (ferror(fp)) { in forward()
167 if (ferror(fp)) { in forward()
182 if (ferror(fp)) { in forward()
255 if (ferror(file->fp)) { in show()
/freebsd-12.1/usr.bin/xstr/
H A Dxstr.c173 if (ferror(stdin)) in process()
226 if (ferror(stdout)) in process()
256 if (ferror(stdin)) in yankstr()
322 return ((feof(file) || ferror(file)) ? 0 : 1); in fgetNUL()
392 if (ferror(mesgwrit)) in flushsh()
446 if (ferror(strf)) { in xsdotc()
/freebsd-12.1/bin/cat/
H A Dcat.c233 if (ferror(stdout)) in cook_cat()
237 if (ferror(stdout)) in cook_cat()
258 if (ferror(fp) && errno == EILSEQ) { in cook_cat()
290 if (ferror(fp)) { in cook_cat()
295 if (ferror(stdout)) in cook_cat()
/freebsd-12.1/release/picobsd/tinyware/passwd/
H A Dpw_copy.c113 if (ferror(to)) in pw_copy()
122 if (ferror(to)) in pw_copy()
134 if (ferror(to)) in pw_copy()
153 if (ferror(to)) in pw_copy()
175 if (ferror(to)) in pw_copy()
/freebsd-12.1/cddl/compat/opensolaris/misc/
H A Dfsshare.c205 if (oldfd != NULL && ferror(oldfd) != 0) { in fsshare_main()
206 error = ferror(oldfd); in fsshare_main()
209 if (ferror(newfd) != 0) { in fsshare_main()
210 error = ferror(newfd); in fsshare_main()
/freebsd-12.1/contrib/xz/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()
/freebsd-12.1/contrib/diff/lib/
H A Dunlocked-io.h56 # undef ferror
57 # define ferror(x) ferror_unlocked (x) macro
59 # define ferror_unlocked(x) ferror (x)
/freebsd-12.1/contrib/ncurses/ncurses/base/
H A Dlib_screen.c59 || ferror(filep) in NCURSES_EXPORT()
117 || ferror(filep)) { in NCURSES_EXPORT()
148 || ferror(filep)) in putwin()
154 || ferror(filep)) { in putwin()
/freebsd-12.1/contrib/gcclibs/libcpp/
H A Dmakeucnid.c102 if (ferror (f)) in read_ucnid()
180 if (ferror (f)) in read_table()
226 if (ferror (f)) in read_derived()
/freebsd-12.1/usr.bin/comm/
H A Dcomm.c131 if (n1 < 0 && ferror(fp1)) in main()
139 if (n2 < 0 && ferror(fp2)) in main()
228 if (ferror(fp)) in show()
/freebsd-12.1/contrib/bzip2/
H A Dbzip2.c341 if (ferror(stream)) goto errhandler_io; in compressStream()
342 if (ferror(zStream)) goto errhandler_io; in compressStream()
354 if (ferror(stream)) goto errhandler_io; in compressStream()
365 if (ferror(zStream)) goto errhandler_io; in compressStream()
377 if (ferror(stream)) goto errhandler_io; in compressStream()
449 if (ferror(stream)) goto errhandler_io; in uncompressStream()
450 if (ferror(zStream)) goto errhandler_io; in uncompressStream()
483 if (ferror(zStream)) goto errhandler_io; in uncompressStream()
492 if (ferror(stream)) goto errhandler_io; in uncompressStream()
568 if (ferror(zStream)) goto errhandler_io; in testStream()
[all …]
/freebsd-12.1/usr.bin/tr/
H A Dtr.c148 if (ferror(stdin)) in main()
166 if (ferror(stdin)) in main()
183 if (ferror(stdin)) in main()
341 if (ferror(stdin)) in main()
/freebsd-12.1/usr.bin/mail/
H A Dquit.c225 if (ferror(obuf)) { in quit()
271 if (ferror(obuf)) in quit()
279 if (ferror(obuf)) { in quit()
370 if (ferror(obuf)) { in writeback()
482 if (ferror(obuf)) { in edstop()
H A Dsend.c180 if (ferror(obuf)) in sendmessage()
206 if (ferror(obuf)) in sendmessage()
483 if (ferror(fi)) { in infix()
489 if (ferror(nfo)) { in infix()
587 if (ferror(fo)) in savemail()
/freebsd-12.1/contrib/libpcap/
H A Dsf-pcap.c174 if (ferror(fp)) { in pcap_check_header()
446 if (ferror(fp)) { in pcap_next_packet()
601 if (ferror(fp)) { in pcap_next_packet()
632 if (ferror(fp)) { in pcap_next_packet()
681 if (ferror(fp)) { in pcap_next_packet()
881 if (ferror(f)) { in pcap_dump_open_append()
1075 if (ferror((FILE *)p)) in pcap_dump_close()
/freebsd-12.1/usr.bin/cmp/
H A Dspecial.c94 eof: if (ferror(fp1)) in c_special()
96 if (ferror(fp2)) in c_special()
/freebsd-12.1/sys/contrib/zstd/zlibWrapper/examples/
H A Dfitblk_original.c81 if (ferror(in)) in partcompress()
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main()
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main()
/freebsd-12.1/usr.bin/random/
H A Drandom.c175 if (ferror(stdout)) in main()
183 if (ferror(stdin)) in main()
/freebsd-12.1/contrib/ipfilter/tools/
H A Dlex_var.h27 if ( c == EOF && ferror( yyin ) ) \
33 && ferror( yyin ) ) \
/freebsd-12.1/sys/contrib/zstd/contrib/pzstd/test/
H A DRoundTrip.h38 if (std::ferror(sFd) || std::ferror(dFd)) { in check()

12345678910>>...13