Searched refs:ferror (Results 1 - 25 of 238) sorted by relevance

12345678910

/freebsd-13-stable/usr.sbin/nscd/
H A Dlog.c64 char *ferror; local
66 ferror = NULL;
68 vasprintf(&ferror, error, ap);
70 assert(ferror != NULL);
72 printf("E%d from %s: %s\n", level, sender, ferror);
76 syslog(LOG_ERR, "nscd error (from %s): %s", sender, ferror);
78 free(ferror);
/freebsd-13-stable/lib/libc/stdio/
H A Dferror.c36 static char sccsid[] = "@(#)ferror.c 8.1 (Berkeley) 6/4/93";
46 #undef ferror macro
50 ferror(FILE *fp) function
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
/freebsd-13-stable/contrib/xz/src/common/
H A Dtuklib_exit.c30 const int ferror_err = ferror(stdout);
36 // in errno. If only ferror() indicated an error,
51 const int ferror_err = ferror(stderr);
/freebsd-13-stable/contrib/llvm-project/libcxx/include/
H A Dstdio.h97 int ferror(FILE* stream);
115 #undef ferror macro
/freebsd-13-stable/contrib/tcpdump/
H A Dvfprintf.c53 return ferror(f) ? EOF : ret;
/freebsd-13-stable/contrib/nvi/ex/
H A Dex_mkexrc.c76 if (seq_save(sp, fp, "abbreviate ", SEQ_ABBREV) || ferror(fp))
78 if (seq_save(sp, fp, "map ", SEQ_COMMAND) || ferror(fp))
80 if (seq_save(sp, fp, "map! ", SEQ_INPUT) || ferror(fp))
82 if (opts_save(sp, fp) || ferror(fp))
/freebsd-13-stable/contrib/ipfilter/tools/
H A Dlex_var.h27 if ( c == EOF && ferror( yyin ) ) \
33 && ferror( yyin ) ) \
/freebsd-13-stable/contrib/diff/lib/
H A Dunlocked-io.h56 # undef ferror macro
57 # define ferror(x) ferror_unlocked (x) macro
59 # define ferror_unlocked(x) ferror (x)
/freebsd-13-stable/bin/setfacl/
H A Dfile.c65 if (ferror(file) != 0) {
/freebsd-13-stable/usr.bin/cmp/
H A Dspecial.c102 eof: if (ferror(fp1))
104 if (ferror(fp2))
/freebsd-13-stable/usr.bin/random/
H A Drandom.c181 if (ferror(stdout))
184 if (ferror(stdin))
/freebsd-13-stable/lib/libc/tests/stdio/
H A Dgetdelim_test.c106 ATF_REQUIRE(!ferror(fp));
127 ATF_REQUIRE(ferror(stdout));
143 ATF_REQUIRE(ferror(fp));
168 ATF_REQUIRE(!ferror(fp));
196 ATF_REQUIRE(!ferror(fp));
220 ATF_REQUIRE(!ferror(fp));
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dfitblk_original.c81 if (ferror(in))
166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout))
/freebsd-13-stable/usr.bin/comm/
H A Dcomm.c131 if (n1 < 0 && ferror(fp1))
139 if (n2 < 0 && ferror(fp2))
228 if (ferror(fp))
/freebsd-13-stable/usr.bin/tail/
H A Dforward.c120 if (ferror(fp)) {
132 if (ferror(fp)) {
151 if (ferror(fp)) {
170 if (ferror(fp)) {
185 if (ferror(fp)) {
258 if (ferror(file->fp)) {
/freebsd-13-stable/contrib/expat/examples/
H A Doutline.c100 if (ferror(stdin)) {
/freebsd-13-stable/stand/liblua/
H A Dlstd.h56 int ferror(FILE *stream);
/freebsd-13-stable/usr.sbin/ngctl/
H A Dwrite.c87 if (ferror(fp))
/freebsd-13-stable/usr.bin/colrm/
H A Dcolrm.c134 if (ferror(stream))
/freebsd-13-stable/usr.bin/rev/
H A Drev.c101 if (ferror(fp)) {
/freebsd-13-stable/bin/cat/
H A Dcat.c318 if (ferror(stdout))
322 if (ferror(stdout))
343 if (ferror(fp) && errno == EILSEQ) {
375 if (ferror(fp)) {
380 if (ferror(stdout))
/freebsd-13-stable/contrib/libucl/utils/
H A Dobjdump.c132 while (!feof (in) && !ferror (in)) {
144 if (ferror (in)) {
H A Ducl-tool.c107 while (!feof(in) && !ferror(in)) {
118 if (ferror(in)) {
/freebsd-13-stable/usr.bin/uuencode/
H A Duuencode.c136 if (ferror(output))
219 if (ferror(stdin))

Completed in 556 milliseconds

12345678910