Searched refs:fopen (Results 1 - 25 of 828) sorted by relevance

1234567891011>>

/freebsd-current/share/syscons/scrnmaps/
H A Dmkscrfil.c40 if ((fd = fopen(argv[1], "w")) == NULL) {
/freebsd-current/libexec/atrun/
H A Dgloadavg.c56 if((fp=fopen(PROC_DIR "loadavg","r")) == NULL)
/freebsd-current/share/examples/sunrpc/msg/
H A Dmsg_proc.c19 f = fopen(_PATH_CONSOLE, "w");
H A Dprintmsg.c36 f = fopen(_PATH_CONSOLE, "w");
/freebsd-current/contrib/libarchive/cpio/test/
H A Dtest_passthrough_reverse.c46 filelist = fopen("filelist", "w");
H A Dtest_passthrough_dotdot.c41 filelist = fopen("filelist", "w");
H A Dtest_option_0.c41 filelist = fopen("filelist", "wb");
49 filelist = fopen("filelistNull", "wb");
/freebsd-current/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fopen.c43 static const char *path = "fopen";
151 atf_tc_set_md_var(tc, "descr", "Test errors from fopen(3)");
163 f = fopen(path, "w+");
176 f = fopen(path, mode[i]);
191 ATF_REQUIRE_ERRNO(EISDIR, fopen("/usr/bin", "w") == NULL);
194 ATF_REQUIRE_ERRNO(ENOENT, fopen("/a/b/c/d/e/f", "r") == NULL);
197 ATF_REQUIRE_ERRNO(ENAMETOOLONG, fopen(buf, "r+") == NULL);
218 f = fopen(path, "w+");
224 f = fopen(path, "a");
229 f = fopen(pat
[all...]
H A Dt_fflush.c55 f = fopen(path, "w");
61 f = fopen(path, "r");
109 f = fopen(path, "w");
115 f = fopen(path, "r+");
152 f = fopen(path, "w");
H A Dt_clearerr.c49 fp = fopen(path, "r");
75 fp = fopen(path, "r");
H A Dt_fputc.c49 f = fopen(path, "w+");
67 f = fopen(path, "w+");
77 f = fopen(path, "r");
/freebsd-current/crypto/openssl/crypto/
H A Do_fopen.c12 * Following definition aliases fopen to fopen64 on above mentioned
55 * back to fopen...
77 file = fopen(filename, mode);
80 file = fopen(filename, mode);
109 file = fopen(filename, mode);
114 file = fopen(filename, mode);
/freebsd-current/contrib/libpcap/testprogs/fuzz/
H A Dfuzz_pcap.c18 fd = fopen(name, "wb");
35 outfile = fopen(name, "w");
48 outfile = fopen("/dev/null", "w");
H A Dfuzz_both.c19 fd = fopen(name, "wb");
36 outfile = fopen(name, "w");
52 outfile = fopen("/dev/null", "w");
/freebsd-current/contrib/libarchive/tar/test/
H A Dtest_option_T_upper.c30 FILE *f = fopen(fn, "w");
57 f = fopen("filelist", "w+");
68 f = fopen("filelist2", "w+");
/freebsd-current/contrib/ntp/sntp/tests/
H A DkodFile.c94 FILE * is = fopen(kod_db_file, "rb");
116 FILE * actual = fopen(kod_db_file, "rb");
117 FILE * expected = fopen(CreatePath("kod-expected-single", INPUT_DIR),"rb");
146 FILE * actual = fopen(kod_db_file, "rb");
147 FILE * expected = fopen(CreatePath("kod-expected-multiple", INPUT_DIR),"rb");
H A Dt-log.c63 FILE * f = fopen("testLogfile2.log","r");
/freebsd-current/contrib/tcpdump/missing/
H A Dgetservent.c64 if (fopen(file, "r") || !env)
79 servf = fopen(etc_path(__PATH_SERVICES), "r");
101 if (servf == NULL && (servf = fopen(etc_path(__PATH_SERVICES), "r")) == NULL)
/freebsd-current/contrib/lib9p/
H A Dlog.c55 stream = fopen(dest, "a");
/freebsd-current/contrib/sendmail/libsm/
H A Dt-smstdio.c31 stream = fopen("t-smstdio.1", "w");
50 stream = fopen("t-smstdio.1", "r");
/freebsd-current/usr.bin/at/
H A Dperm.c98 fp=fopen(PERM_PATH "at.allow","r");
111 fp=fopen(PERM_PATH "at.deny", "r");
/freebsd-current/lib/libc/tests/sys/
H A Dmlock_helper.c69 fp = fopen(VM_MAX_WIRED, "w");
92 fp = fopen(VM_MAX_WIRED, "r");
94 perror("fopen failed\n");
/freebsd-current/crypto/openssl/demos/pkcs12/
H A Dpkwrite.c30 if ((fp = fopen(argv[1], "r")) == NULL) {
44 if ((fp = fopen(argv[4], "wb")) == NULL) {
/freebsd-current/stand/liblua/
H A Dlstd.h58 #define fopen lua_loader_fopen macro
70 FILE *fopen(const char *filename, const char *mode);
/freebsd-current/lib/libc/tests/stdlib/
H A Dcxa_thread_atexit_test.cc100 ATF_REQUIRE((output = fopen("test_before.txt", "w")) != NULL);
121 ATF_REQUIRE((output = fopen("test_after.txt", "w")) != NULL);
143 ATF_REQUIRE((output = fopen("test_add_meanwhile.txt", "w")) != NULL);

Completed in 165 milliseconds

1234567891011>>