Searched refs:freopen (Results 51 - 72 of 72) sorted by relevance

123

/freebsd-11-stable/contrib/gcclibs/libmudflap/
H A Dmf-hooks2.c748 WRAPPER2(FILE *, freopen, const char *path, const char *mode, FILE *s)
755 MF_VALIDATE_EXTENT (path, CLAMPADD(n, 1), __MF_CHECK_READ, "freopen path");
757 MF_VALIDATE_EXTENT (s, (sizeof (*s)), __MF_CHECK_WRITE, "freopen stream");
761 MF_VALIDATE_EXTENT (mode, CLAMPADD(n, 1), __MF_CHECK_READ, "freopen mode");
763 p = freopen (path, mode, s);
766 __mf_register (p, sizeof (*p), MF_REGISTER_fopen, "freopen result");
768 MF_VALIDATE_EXTENT (p, sizeof (*p), __MF_CHECK_WRITE, "freopen result");
821 p = freopen (path, mode, s);
/freebsd-11-stable/contrib/ncurses/progs/
H A Dtoe.c631 if (freopen(report_file, "r", stdin) == 0) {
H A Dinfocmp.c990 if (freopen(argv[n], "r", stdin) == 0)
/freebsd-11-stable/contrib/gcc/
H A Dsystem.h52 #define freopen(PATH,MODE,STREAM) freopen_unlocked(PATH,MODE,STREAM) macro
H A Dsys-protos.h403 extern FILE * freopen(const char *, const char *, FILE *);
H A Dmips-tfile.c491 Symbol# 3: "freopen"
4918 if (freopen (argv[optind], "r", stdin) != stdin)
/freebsd-11-stable/lib/libc/db/test/
H A Ddbtest.c135 if (strcmp(*argv, "-") && freopen(*argv, "r", stdin) == NULL)
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c153 if (strcmp(*argv, "-") && freopen(*argv, "r", stdin) == NULL)
/freebsd-11-stable/usr.bin/at/
H A Dat.c334 fpin = freopen(atinput, "r", stdin);
/freebsd-11-stable/contrib/groff/src/utils/tfmtodit/
H A Dtfmtodit.cpp755 if (!freopen(font_file, "w", stdout)) {
/freebsd-11-stable/usr.bin/mklocale/
H A Dyacc.y247 if (freopen(av[optind], "r", stdin) == 0)
/freebsd-11-stable/contrib/flex/
H A Dmain.c355 prev_stdout = freopen (outfilename, "w+", stdout);
/freebsd-11-stable/contrib/lua/src/
H A Dlauxlib.c721 lf.f = freopen(filename, "rb", lf.f); /* reopen in binary mode */
/freebsd-11-stable/contrib/diff/src/
H A Ddiff3.c389 if (! freopen (file[rev_mapping[FILE0]], "r", stdin))
/freebsd-11-stable/contrib/groff/src/utils/hpftodit/
H A Dhpftodit.cpp347 if (freopen(argv[optind + 2], "w", stdout) == NULL)
/freebsd-11-stable/contrib/opie/
H A Dopieftpd.c1656 freopen(_PATH_DEVNULL, "w", stderr);
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c1678 * DT_FREOPEN_RESTORE is via the empty freopen() string --
1687 * freopen() to restore stdout when freopen() has
1702 * freopen(3C) will always close the specified stream and underlying
1709 * were there an "fdreopen()" equivalent of freopen() that allowed one
1713 * freopen()'ing "/dev/fd/[fileno]", where [fileno] is the underlying
1725 (void) snprintf(faultstr, len, "couldn't freopen() \"%s\": %s",
1738 * If this is the first time that we're calling freopen(),
1749 if (freopen(selfbuf, "aF", fp) == NULL) {
1759 * Solaris because FreeBSD's freopen() wil
[all...]
/freebsd-11-stable/usr.bin/kdump/
H A Dkdump.c450 if (!freopen(tracefile, "r", stdin))
/freebsd-11-stable/contrib/dialog/
H A Dutil.c344 if (freopen(device, "r", stdin) == 0)
/freebsd-11-stable/libexec/ftpd/
H A Dftpd.c282 (void) freopen(_PATH_DEVNULL, "w", stderr);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc5879 INTERCEPTOR(__sanitizer_FILE *, freopen, const char *path, const char *mode,
5882 COMMON_INTERCEPTOR_ENTER(ctx, freopen, path, mode, fp);
5886 __sanitizer_FILE *res = REAL(freopen)(path, mode, fp);
5894 COMMON_INTERCEPT_FUNCTION(freopen);
/freebsd-11-stable/contrib/groff/src/devices/grohtml/
H A Dpost-html.cpp4626 freopen(split_file.contents(), "w", stdout);

Completed in 225 milliseconds

123