Symbol: freopen
include/stdio.h
145
FILE *freopen(const char *, const char *, FILE *);
lib/libc/hidden/stdio.h
71
PROTO_NORMAL(freopen);
lib/libc/stdio/freopen.c
163
DEF_STRONG(freopen);
libexec/ftpd/ftpd.c
377
(void) freopen(_PATH_DEVNULL, "w", stderr);
regress/lib/libc/arch/alpha/divremtest/divremtest.c
71
if (freopen(argv[0], "r", stdin) == NULL) {
regress/lib/libc/db/dbtest.c
123
if (strcmp(*argv, "-") && freopen(*argv, "r", stdin) == NULL)
regress/lib/libc/orientation/orientation_test.c
78
if (freopen(filename, "r+", std) == NULL)
regress/lib/libc/stdio/test_fflush.c
209
fp = freopen(TMPFILENAME, "r", fp);
sbin/mountd/mountd.c
289
pidfile = freopen(_PATH_MOUNTDPID, "w", pidfile);
usr.bin/at/at.c
992
if (freopen(atinput, "r", stdin) == NULL)
usr.bin/awk/run.c
2467
stat = freopen("/dev/null", "r+", files[i].fp) == NULL;
usr.bin/expand/expand.c
79
if (freopen(argv[0], "r", stdin) == NULL)
usr.bin/finger/finger.c
172
if (!freopen(_PATH_UTMP, "r", stdin))
usr.bin/finger/finger.c
267
if (!freopen(_PATH_UTMP, "r", stdin))
usr.bin/fold/fold.c
116
if (!freopen(*argv, "r", stdin))
usr.bin/hexdump/display.c
302
if (!(freopen(*_argv, "r", stdin))) {
usr.bin/infocmp/infocmp.c
1026
if (freopen(argv[n], "r", stdin) == 0)
usr.bin/kdump/kdump.c
250
if (!freopen(tracefile, "r", stdin))
usr.bin/lex/filter.c
253
if (freopen((char *) chain->extra, "w", stdout) == NULL)
usr.bin/lex/main.c
341
prev_stdout = freopen(outfilename, "w+", stdout);
usr.bin/logger/logger.c
70
if (freopen(optarg, "r", stdin) == NULL) {
usr.bin/mklocale/yacc.y
284
if (freopen(av[optind], "r", stdin) == 0)
usr.bin/nl/nl.c
212
freopen(argv[0], "r", stdin) == NULL)
usr.bin/rwall/rwall.c
139
if (fname && !(freopen(fname, "r", stdin)))
usr.bin/split/split.c
305
if (!freopen(fname, "w", stdout))
usr.bin/tail/forward.c
368
ttf->fp = freopen(ttf->fname, "r", ttf->fp);
usr.bin/unexpand/unexpand.c
69
if (freopen(argv[0], "r", stdin) == NULL) {
usr.bin/uniq/uniq.c
110
if (freopen(argv[0], "r", stdin) == NULL)
usr.bin/uniq/uniq.c
114
if (freopen(argv[1], "w", stdout) == NULL)
usr.bin/users/users.c
70
if (!freopen(_PATH_UTMP, "r", stdin)) {
usr.bin/uuencode/uuencode.c
107
if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
usr.bin/wall/wall.c
227
if (freopen(fname, "r", stdin) == NULL)
usr.bin/what/what.c
83
if (!freopen(*argv, "r", stdin)) {
usr.sbin/lpr/filters/lpf.c
206
freopen(acctfile, "a", stdout) != NULL) {
usr.sbin/mtree/mtree.c
76
if (!(freopen(optarg, "r", stdin)))