Searched refs:freopen (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/version/
H A Dtst.1.0.d42 int freopen;
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.badfreopen.ksh36 freopen("..");
37 freopen("%s", ".");
38 freopen("%c%c", '.', '.');
39 freopen("%c", '.');
46 freopen("%s%s", ".", ".");
47 freopen("%s%s", ".", ".");
H A Dtst.freopen.ksh38 freopen("%s.%d", \$\$1, i);
45 freopen("");
74 tmpfile=/tmp/tst.freopen.$$
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/printa/
H A Dtst.walltimestamp.ksh49 freopen("/dev/null");
H A Dtst.many.d42 freopen("/dev/null");
/freebsd-current/stand/liblua/
H A Dlstd.h59 #define freopen lua_loader_freopen macro
71 FILE *freopen( const char *filename, const char *mode, FILE *stream);
H A Dlstd.c100 freopen(const char *filename, const char *mode, FILE *stream) function
/freebsd-current/contrib/libcbor/examples/
H A Dstreaming_array.c34 out = freopen(NULL, "wb", stdout);
/freebsd-current/usr.bin/xstr/
H A Dxstr.c122 if (freopen("x.c", "w", stdout) == NULL)
124 if (!readstd && freopen(argv[0], "r", stdin) == NULL)
/freebsd-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dcstdio.inc28 using ::freopen;
/freebsd-current/lib/libc/tests/stdio/
H A Dperror_test.c58 ATF_REQUIRE(freopen(tmpfil, "r+", stderr) != NULL);
H A Dfreopen_test.c46 fp2 = freopen(fname2, mode2, fp1);
49 "freopen(\"%s\", \"%s\", fopen(\"%s\", \"%s\")) succeeded "
54 "freopen(\"%s\", \"%s\", fopen(\"%s\", \"%s\")) failed: %d",
/freebsd-current/usr.bin/bintrans/
H A Duuencode.c71 if (in != NULL && freopen(in, "r", stdin) == NULL)
120 if (!freopen(*argv, "r", stdin) || fstat(fileno(stdin), &sb))
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dcstdio.inc28 using std::freopen;
/freebsd-current/usr.bin/expand/
H A Dexpand.c86 if (freopen(argv[0], "r", stdin) == NULL) {
/freebsd-current/usr.bin/fold/
H A Dfold.c115 if (!freopen(*argv, "r", stdin)) {
/freebsd-current/usr.bin/rwall/
H A Drwall.c157 if (fname && !(freopen(fname, "r", stdin)))
/freebsd-current/usr.sbin/lpr/filters/
H A Dlpf.c202 freopen(acctfile, "a", stdout) != NULL) {
/freebsd-current/contrib/sendmail/contrib/
H A Dbitdomain.c57 if (!freopen(optarg, "w", stdout)) {
71 if (!freopen(argv[optind], "r", stdin)) {
/freebsd-current/usr.bin/mkstr/
H A Dmkstr.c110 if (freopen(name, "w", stdout) == NULL)
112 if (freopen(argv[0], "r", stdin) == NULL)
/freebsd-current/usr.sbin/pw/
H A Dpw_group.c285 freopen(_PATH_DEVNULL, "w", stderr);
348 freopen(_PATH_DEVNULL, "w", stderr);
411 freopen(_PATH_DEVNULL, "w", stderr);
575 freopen(_PATH_DEVNULL, "w", stderr);
673 freopen(_PATH_DEVNULL, "w", stderr);
/freebsd-current/contrib/netbsd-tests/lib/libc/gen/posix_spawn/
H A Dt_fileactions.c201 freopen("/dev/zero", "r", stdin);
368 freopen(TESTFILE, "r", stdin);
369 freopen(CHECKFILE, "w", stdout);
/freebsd-current/usr.bin/unexpand/
H A Dunexpand.c86 if (freopen(filename, "r", stdin) == NULL) {
/freebsd-current/lib/libc/stdio/
H A Dfreopen.c54 freopen(const char * __restrict file, const char * __restrict mode, function
78 /* See comment below regarding freopen() of closed files. */
125 * There are actually programs that depend on being able to "freopen"
129 * a descriptor, defer closing it; freopen("/dev/stdin", "r", stdin)
200 * assume stderr is always fd STDERR_FILENO, even if being freopen'd.
H A DMakefile.inc12 fputwc.c fputws.c fread.c freopen.c fscanf.c fseek.c fsetpos.c \
60 fopen.3 freopen.3 \

Completed in 162 milliseconds

123