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

1234567891011>>

/freebsd-11-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-11-stable/lib/libc/stdio/
H A Dferror.c34 static char sccsid[] = "@(#)ferror.c 8.1 (Berkeley) 6/4/93";
44 #undef ferror macro
48 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-11-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-11-stable/contrib/llvm-project/libcxx/include/
H A Dstdio.h97 int ferror(FILE* stream);
115 #undef ferror macro
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_mkexrc.c80 if (seq_save(sp, fp, "abbreviate ", SEQ_ABBREV) || ferror(fp))
82 if (seq_save(sp, fp, "map ", SEQ_COMMAND) || ferror(fp))
84 if (seq_save(sp, fp, "map! ", SEQ_INPUT) || ferror(fp))
86 if (opts_save(sp, fp) || ferror(fp))
/freebsd-11-stable/contrib/tcpdump/
H A Dvfprintf.c53 return ferror(f) ? EOF : ret;
/freebsd-11-stable/contrib/gcc/
H A Dgenconstants.c70 if (ferror (stdout) || fflush (stdout) || fclose (stdout))
H A Dgencodes.c94 if (ferror (stdout) || fflush (stdout) || fclose (stdout))
H A Dgenmddeps.c69 return (ferror (stdout) != 0 ? FATAL_EXIT_CODE : SUCCESS_EXIT_CODE);
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dlex_var.h27 if ( c == EOF && ferror( yyin ) ) \
33 && ferror( yyin ) ) \
/freebsd-11-stable/usr.bin/cmp/
H A Dspecial.c92 eof: if (ferror(fp1))
94 if (ferror(fp2))
/freebsd-11-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-11-stable/bin/setfacl/
H A Dfile.c65 if (ferror(file) != 0) {
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dfsshare.c205 if (oldfd != NULL && ferror(oldfd) != 0) {
206 error = ferror(oldfd);
209 if (ferror(newfd) != 0) {
210 error = ferror(newfd);
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Dbio_lcl.h20 # define UP_ferror ferror
/freebsd-11-stable/gnu/usr.bin/grep/
H A Dcloseout.c87 the failure. That's what the ferror test is checking below.
96 int e = ferror (stdout) ? 0 : -1;
/freebsd-11-stable/contrib/libreadline/examples/
H A Drlcat.c126 return (ferror (stdout));
147 return (ferror (stdout));
/freebsd-11-stable/usr.bin/random/
H A Drandom.c175 if (ferror(stdout))
183 if (ferror(stdin))
/freebsd-11-stable/lib/libc/tests/stdio/
H A Dgetdelim_test.c107 ATF_REQUIRE(!ferror(fp));
128 ATF_REQUIRE(ferror(stdout));
144 ATF_REQUIRE(ferror(fp));
169 ATF_REQUIRE(!ferror(fp));
197 ATF_REQUIRE(!ferror(fp));
221 ATF_REQUIRE(!ferror(fp));
/freebsd-11-stable/release/picobsd/tinyware/passwd/
H A Dpw_copy.c111 if (ferror(to))
120 if (ferror(to))
132 if (ferror(to))
151 if (ferror(to))
173 if (ferror(to))
/freebsd-11-stable/contrib/gcclibs/libcpp/
H A Dmakeucnid.c102 if (ferror (f))
180 if (ferror (f))
226 if (ferror (f))
/freebsd-11-stable/usr.bin/comm/
H A Dcomm.c130 if (n1 < 0 && ferror(fp1))
138 if (n2 < 0 && ferror(fp2))
227 if (ferror(fp))
/freebsd-11-stable/usr.bin/tail/
H A Dforward.c115 if (ferror(fp)) {
127 if (ferror(fp)) {
146 if (ferror(fp)) {
165 if (ferror(fp)) {
180 if (ferror(fp)) {
253 if (ferror(file->fp)) {
/freebsd-11-stable/contrib/ncurses/ncurses/base/
H A Dlib_screen.c59 || ferror(filep)
117 || ferror(filep)) {
148 || ferror(filep))
154 || ferror(filep)) {

Completed in 168 milliseconds

1234567891011>>