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

1234567891011

/freebsd-current/usr.sbin/nscd/
H A Dlog.c62 char *ferror; local
64 ferror = NULL;
66 vasprintf(&ferror, error, ap);
68 assert(ferror != NULL);
70 printf("E%d from %s: %s\n", level, sender, ferror);
74 syslog(LOG_ERR, "nscd error (from %s): %s", sender, ferror);
76 free(ferror);
/freebsd-current/lib/libc/stdio/
H A Dferror.c40 #undef ferror macro
44 ferror(FILE *fp) function
H A DMakefile.inc7 feof.c ferror.c fflush.c fgetc.c fgetln.c fgetpos.c fgets.c fgetwc.c \
35 MAN+= fclose.3 ferror.3 fflush.3 fgetln.3 fgets.3 fgetwln.3 fgetws.3 \
46 MLINKS+=ferror.3 ferror_unlocked.3 \
47 ferror.3 clearerr.3 \
48 ferror.3 clearerr_unlocked.3 \
49 ferror.3 feof.3 \
50 ferror.3 feof_unlocked.3 \
51 ferror.3 fileno.3 \
52 ferror.3 fileno_unlocked.3
/freebsd-current/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-current/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-current/contrib/llvm-project/libcxx/include/
H A Dstdio.h97 int ferror(FILE* stream);
117 # undef ferror macro
/freebsd-current/stand/liblua/
H A Dlstd.h63 #define ferror lua_loader_ferror macro
75 int ferror(FILE *stream);
/freebsd-current/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-current/bin/setfacl/
H A Dfile.c62 if (ferror(file) != 0) {
/freebsd-current/lib/libc/tests/stdio/
H A Dgetdelim_test.c110 ATF_REQUIRE(!ferror(fp));
131 ATF_REQUIRE(ferror(stdout));
147 ATF_REQUIRE(ferror(fp));
172 ATF_REQUIRE(!ferror(fp));
200 ATF_REQUIRE(!ferror(fp));
224 ATF_REQUIRE(!ferror(fp));
352 ATF_REQUIRE(ferror(fp));
370 ATF_REQUIRE(ferror(fp));
378 ATF_REQUIRE(!ferror(fp));
386 ATF_REQUIRE(ferror(f
[all...]
/freebsd-current/usr.bin/cmp/
H A Dspecial.c107 eof: if (ferror(fp1))
109 if (ferror(fp2))
/freebsd-current/usr.bin/random/
H A Drandom.c167 if (ferror(stdout))
170 if (ferror(stdin))
/freebsd-current/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-current/usr.bin/comm/
H A Dcomm.c116 if (n1 < 0 && ferror(fp1))
124 if (n2 < 0 && ferror(fp2))
213 if (ferror(fp))
/freebsd-current/usr.bin/tail/
H A Dforward.c114 if (ferror(fp)) {
126 if (ferror(fp)) {
145 if (ferror(fp)) {
164 if (ferror(fp)) {
179 if (ferror(fp)) {
252 if (ferror(file->fp)) {
/freebsd-current/usr.bin/locate/code/
H A Dlocate.code.c125 if (!feof(fp) || ferror(fp))
221 if (fflush(stdout) != 0 || ferror(stdout))
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc18 using ::ferror;
/freebsd-current/contrib/expat/examples/
H A Delements.c101 if (ferror(stdin)) {
H A Doutline.c104 if (ferror(stdin)) {
/freebsd-current/usr.sbin/ngctl/
H A Dwrite.c85 if (ferror(fp))
/freebsd-current/usr.bin/colrm/
H A Dcolrm.c119 if (ferror(stream))
/freebsd-current/usr.bin/rev/
H A Drev.c86 if (ferror(fp)) {
/freebsd-current/usr.bin/locate/bigram/
H A Dlocate.bigram.c86 if (!feof(stdin) || ferror(stdin))
/freebsd-current/usr.bin/asa/
H A Dasa.c140 if (ferror(stdout) != 0)
/freebsd-current/sys/contrib/openzfs/lib/libshare/
H A Dnfs.c214 if (ferror(oldfp) != 0)
215 error = ferror(oldfp);
248 if (error == SA_OK && ferror(newfp) != 0)
249 error = ferror(newfp);

Completed in 301 milliseconds

1234567891011