Symbol: fopen
bin/cat/cat.c
122
if ((fp = fopen(path, "r")) == NULL) {
bin/chio/parse.y
404
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
bin/ed/io.c
154
fp = (*fn == '!') ? popen(fn+1, "w") : fopen(strip_escapes(fn), mode);
bin/ed/io.c
52
fp = (*fn == '!') ? popen(fn + 1, "r") : fopen(strip_escapes(fn), "r");
bin/md5/md5.c
510
ofile = fopen(optarg, "w");
bin/md5/md5.c
715
else if ((fp = fopen(file, "r")) == NULL) {
bin/md5/md5.c
785
} else if ((listfp = fopen(file, "r")) == NULL) {
bin/md5/md5.c
914
if ((fp = fopen(filename, "r")) == NULL) {
bin/pax/options.c
1024
else if ((fp = fopen(file, "r")) == NULL) {
bin/pax/options.c
1104
else if ((fp = fopen(file, "r")) == NULL) {
bin/pax/options.c
1330
if ((fp = fopen(optarg, "r")) == NULL) {
distrib/special/more/more.c
84
#define Fopen(s, m) (Currline = 0, file_pos = 0, fopen(s,m))
games/adventure/save.c
133
if ((out = fopen(outfile, "wb")) == NULL) {
games/adventure/save.c
159
if ((in = fopen(infile, "rb")) == NULL) {
games/adventure/setup.c
75
if ((infile = fopen(argv[1], "r")) == NULL)
games/atc/main.c
202
yyin = fopen(s, "r");
games/atc/main.c
226
if ((fp = fopen(games, "r")) == NULL) {
games/atc/main.c
263
if ((fp = fopen(games, "r")) == NULL) {
games/atc/main.c
304
if ((fp = fopen(games, "r")) == NULL) {
games/backgammon/backgammon/extra.c
108
ftrace = fopen("bgtrace", "w");
games/backgammon/backgammon/move.c
323
ftrace = fopen("bgtrace", "w");
games/battlestar/command6.c
113
if ((score_fp = fopen(scorefile, "a")) == NULL)
games/battlestar/save.c
100
if ((fp = fopen(filename, "w")) == NULL) {
games/battlestar/save.c
49
if ((fp = fopen(filename, "r")) == NULL)
games/boggle/boggle/help.c
50
if ((fp = fopen(HELPFILE, "r")) == NULL)
games/boggle/boggle/word.c
115
if ((fp = fopen(dict, "r")) == NULL)
games/boggle/boggle/word.c
177
if ((fp = fopen(indexfile, "r")) == NULL) {
games/fortune/strfile/strfile.c
144
if ((inf = fopen(Infile, "r")) == NULL)
games/fortune/strfile/strfile.c
147
if ((outf = fopen(Outfile, "w")) == NULL)
games/fortune/strfile/strfile.c
342
Sort_1 = fopen(Infile, "r");
games/fortune/strfile/strfile.c
343
Sort_2 = fopen(Infile, "r");
games/fortune/unstr/unstr.c
77
if ((Inf = fopen(Infile, "r")) == NULL)
games/fortune/unstr/unstr.c
79
if ((Dataf = fopen(Datafile, "r")) == NULL)
games/gomoku/main.c
117
if ((inputfp = fopen(*argv, "r")) == NULL)
games/gomoku/main.c
234
if ((fp = fopen(fname, "w")) == NULL) {
games/gomoku/main.c
309
if ((fp = fopen(buf, "w")) == NULL) {
games/gomoku/main.c
395
if ((fp = fopen(fmtbuf + 1, "w")) == NULL)
games/gomoku/main.c
97
if ((debugfp = fopen(optarg, "w")) == NULL)
games/hack/hack.end.c
323
if(!(rfile = fopen(recfile,"r"))){
games/hack/hack.end.c
399
if(!(rfile = fopen(recfile,"w"))){
games/hack/hack.end.c
637
if(!(rfile = fopen(recfile,"r"))){
games/hack/hack.pager.c
397
if ((f = fopen (fnam, "r")) == (FILE *) 0) {
games/hack/hack.pager.c
91
if (!(fp = fopen(DATAFILE, "r")))
games/hack/hack.rumors.c
122
(rumf = fopen(RUMORFILE, "r")) == (FILE *) 0) return;
games/hangman/setup.c
75
if ((Dict = fopen(Dict_name, "r")) == NULL) {
games/hunt/huntd/conf.c
288
if ((f = fopen(nm, "r")) != NULL) {
games/mille/mille.c
55
outf = fopen("q", "w");
games/mille/move.c
444
if ((outf = fopen(buf, "w")) == NULL)
games/mille/varpush.c
87
if ((outf = fopen(buf, "w")) == NULL) {
games/monop/cards.c
60
if ((deckf = fopen(cardfile, "r")) == NULL)
games/monop/execute.c
210
if ((outf = fopen(buf, "w")) == NULL) {
games/monop/execute.c
300
if ((inf = fopen(file, "r")) == NULL) {
games/monop/initdeck.c
76
if ((inf = fopen(infile, "r")) == NULL)
games/monop/initdeck.c
88
if ((outf = fopen(outfile, "w")) == NULL)
games/phantasia/gamesupport.c
559
if ((fp = fopen(_PATH_SCORE, "r")) != NULL) {
games/phantasia/gamesupport.c
693
if ((fp = fopen(_PATH_SCORE, "r+")) != NULL) {
games/phantasia/interplayer.c
841
fp = fopen(_PATH_MESS, "w");
games/phantasia/interplayer.c
848
fp = fopen(_PATH_VOID, "w");
games/phantasia/interplayer.c
944
if ((fp = fopen(_PATH_GOLD, "r+")) != NULL)
games/phantasia/main.c
356
if ((Playersfp = fopen(_PATH_PEOPLE, "r+")) == NULL)
games/phantasia/main.c
359
if ((Monstfp = fopen(_PATH_MONST, "r+")) == NULL)
games/phantasia/main.c
362
if ((Messagefp = fopen(_PATH_MESS, "r")) == NULL)
games/phantasia/main.c
365
if ((Energyvoidfp = fopen(_PATH_VOID, "r+")) == NULL)
games/phantasia/main.c
608
fp = fopen(_PATH_MESS, "w");
games/phantasia/main.c
761
if ((fp = fopen(_PATH_MOTD, "r")) != NULL
games/phantasia/main.c
844
if ((fp = fopen(_PATH_LASTDEAD, "r")) != NULL
games/phantasia/misc.c
1607
if ((fp = fopen(_PATH_GOLD, "r+")) != NULL)
games/phantasia/misc.c
915
fp = fopen(_PATH_LASTDEAD, "w");
games/phantasia/misc.c
922
fp = fopen(_PATH_MESS, "w");
games/phantasia/setup.c
136
if ((fp = fopen(path, "w")) == NULL)
games/phantasia/setup.c
146
if ((Monstfp = fopen(path, "w")) == NULL)
games/phantasia/setup.c
150
if ((fp = fopen(monsterfile, "r")) == NULL)
games/quiz/quiz.c
116
if ((fp = fopen(file, "r")) == NULL)
games/sail/lo_main.c
62
if ((fp = fopen(_PATH_LOGFILE, "r")) == 0) {
games/sail/misc.c
200
if ((fp = fopen(_PATH_LOGFILE, "r+")) == NULL) {
games/sail/sync.c
149
sync_fp = fopen(sync_file, "w+");
games/sail/sync.c
152
sync_fp = fopen(sync_file, "r+");
games/snake/snake.c
148
logfile = fopen(logpath, "a");
include/stdio.h
139
FILE *fopen(const char *, const char *);
lib/libc/gen/fstab.c
198
if ((_fs_fp = fopen(_PATH_FSTAB, "re")))
lib/libc/gen/getcap.c
278
fp = fopen(*db_p, "re");
lib/libc/gen/getcap.c
675
if (pfp == NULL && (pfp = fopen(*dbp, "re")) == NULL)
lib/libc/gen/getcap.c
727
fopen(*dbp, "re")) == NULL) {
lib/libc/gen/getttyent.c
185
} else if ((tf = fopen(_PATH_TTYS, "re")))
lib/libc/gen/getusershell.c
93
if ((fp = fopen(_PATH_SHELLS, "re")) == NULL)
lib/libc/hidden/stdio.h
65
PROTO_NORMAL(fopen);
lib/libc/locale/_get_locname.c
76
if ((fp = fopen(_PATH_LOCALE "/UTF-8/LC_CTYPE", "re")) != NULL) {
lib/libc/net/ethers.c
100
f = fopen(_PATH_ETHERS, "re");
lib/libc/net/ethers.c
133
f = fopen(_PATH_ETHERS, "re");
lib/libc/net/getprotoent.c
82
if (pd->fp == NULL && (pd->fp = fopen(_PATH_PROTOCOLS, "re" )) == NULL)
lib/libc/net/ruserok.c
124
hostf = fopen(pbuf, "re");
lib/libc/net/ruserok.c
96
hostf = superuser ? NULL : fopen(_PATH_HEQUIV, "re");
lib/libc/rpc/getrpcent.c
114
d->rpcf = fopen(RPCDB, "re");
lib/libc/rpc/getrpcent.c
142
if (d->rpcf == NULL && (d->rpcf = fopen(RPCDB, "re")) == NULL)
lib/libc/stdio/fopen.c
79
DEF_STRONG(fopen);
lib/libcrypto/bio/bss_file.c
121
file = fopen(filename, mode);
lib/libcrypto/bio/bss_file.c
258
fp = fopen(ptr, p);
lib/libcrypto/ui/ui_openssl.c
303
if ((tty_in = fopen(DEV_TTY, "re")) == NULL)
lib/libcrypto/ui/ui_openssl.c
305
if ((tty_out = fopen(DEV_TTY, "we")) == NULL)
lib/libcurses/base/lib_initscr.c
87
FILE *fp = fopen("/dev/tty", "w");
lib/libcurses/nc_access.h
60
#define safe_fopen(name,mode) fopen(name,mode)
lib/libcurses/tinfo/access.c
261
result = fopen(path, mode);
lib/libcurses/tinfo/access.c
265
result = fopen(path, mode);
lib/libcurses/tinfo/make_keys.c
158
FILE *fp = fopen(argv[n], "r");
lib/libedit/el.c
532
fp = fopen(fname, "r");
lib/libedit/history.c
770
if ((fp = fopen(fname, "r")) == NULL)
lib/libedit/history.c
867
if ((fp = fopen(fname, "w")) == NULL)
lib/libedit/readline.c
1200
if ((fp = fopen(filename, "r+")) == NULL)
lib/libkeynote/keynote-keygen.c
214
fp = fopen(argv[3], "w");
lib/libkeynote/keynote-keygen.c
243
fp = fopen(argv[4], "w");
lib/libkeynote/keynote-keygen.c
295
fp = fopen(argv[3], "w");
lib/libkeynote/keynote-keygen.c
324
fp = fopen(argv[4], "w");
lib/libpcap/nametoaddr.c
347
fp = fopen(PCAP_ETHERS_FILE, "r");
lib/libpcap/savefile.c
110
fp = fopen(fname, "r");
lib/libpcap/savefile.c
440
f = fopen(fname, "w");
lib/libusbhid/usage.c
88
f = fopen(hidname, "re");
lib/libutil/login_fbtab.c
90
if ((fp = fopen(_PATH_FBTAB, "re")) == NULL)
lib/libutil/pidfile.c
65
if ((f = fopen(pidfile_path, "we")) == NULL) {
lib/libz/crc32.c
283
out = fopen("crc32.h", "w");
lib/libz/trees.c
387
FILE *header = fopen("trees.h", "w");
lib/libz/zutil.h
126
fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
lib/libz/zutil.h
194
# define F_OPEN(name, mode) fopen((name), (mode))
libexec/comsat/comsat.c
297
if ((fi = fopen(name, "r")) == NULL)
libexec/ftpd/ftpcmd.y
1519
fin = fopen(filename, "r");
libexec/ftpd/ftpd.c
1070
if ((fp = fopen(motd ? motd : _PATH_FTPLOGINMESG, "r")) != NULL) {
libexec/ftpd/ftpd.c
1119
fin = fopen(name, "r");
libexec/ftpd/ftpd.c
1208
fout = fopen(name, mode);
libexec/ftpd/ftpd.c
2020
if ((message = fopen(_PATH_CWDMESG, "r")) != NULL) {
libexec/ftpd/ftpd.c
565
if ((fp = fopen(_PATH_NOLOGIN, "r")) != NULL) {
libexec/ftpd/ftpd.c
574
if ((fp = fopen(_PATH_FTPWELCOME, "r")) != NULL) {
libexec/ftpd/ftpd.c
824
if ((fp = fopen(fname, "r")) != NULL) {
libexec/login_ldap/util.c
184
if ((cf = fopen(path, "r")) == NULL) {
libexec/login_radius/raddauth.c
546
if ((servfd = fopen(buffer, "r")) == NULL) {
libexec/login_yubikey/login_yubikey.c
196
if ((f = fopen(fn, "r")) == NULL) {
libexec/login_yubikey/login_yubikey.c
208
if ((f = fopen(fn, "r")) == NULL) {
libexec/login_yubikey/login_yubikey.c
224
if ((f = fopen(fn, "r")) != NULL) {
libexec/login_yubikey/login_yubikey.c
291
if ((f = fopen(fn, "w")) == NULL) {
libexec/spamd/grey.c
262
if ((fp = fopen(alloweddomains_file, "r")) != NULL) {
libexec/talkd/announce.c
61
if ((tf = fopen(full_tty, "w")) == NULL)
libexec/talkd/process.c
200
if ((fp = fopen(_PATH_UTMP, "r")) == NULL) {
libexec/tradcpp/place.c
324
debuglogfile = fopen(file, "w");
regress/lib/libc/fnmatch/fnm_test.c
23
if ((fp = fopen(argv[1], "r")) == NULL)
regress/lib/libc/glob/globtest.c
35
if ((fp = fopen(argv[1], "r")) == NULL)
regress/lib/libc/orientation/orientation_test.c
66
if ((f = fopen(filename, "r+")) == NULL)
regress/lib/libc/stdio/test___fpending.c
38
fp = fopen(TMPFILENAME, "w");
regress/lib/libc/stdio/test___freadahead.c
39
fp = fopen(TMPFILENAME, "w");
regress/lib/libc/stdio/test___freadahead.c
45
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test___freading.c
105
fp = fopen(TMPFILENAME, "r+");
regress/lib/libc/stdio/test___freading.c
44
fp = fopen(TMPFILENAME, "w+");
regress/lib/libc/stdio/test___freading.c
73
fp = fopen(TMPFILENAME, "w+");
regress/lib/libc/stdio/test___freadptr.c
42
fp = fopen(TMPFILENAME, "w");
regress/lib/libc/stdio/test___freadptr.c
48
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test___fseterr.c
37
fp = fopen(TMPFILENAME, "w+");
regress/lib/libc/stdio/test___fwriting.c
38
fp = fopen(TMPFILENAME, "w"); /* write only */
regress/lib/libc/stdio/test___fwriting.c
46
fp = fopen(TMPFILENAME, "a"); /* append only */
regress/lib/libc/stdio/test___fwriting.c
59
fp = fopen(TMPFILENAME, "w+"); /* read / write */
regress/lib/libc/stdio/test_fflush.c
115
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
179
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
199
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
227
fp = fopen(TMPFILENAME, "w+");
regress/lib/libc/stdio/test_fflush.c
244
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
267
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
302
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
50
fp = fopen(TMPFILENAME, "w+");
regress/lib/libc/stdio/test_fflush.c
67
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_fflush.c
93
fp = fopen(TMPFILENAME, "r");
regress/lib/libc/stdio/test_ungetwc.c
42
fp = fopen(TMPFILENAME, "w+");
regress/lib/libc/stdio/test_ungetwc.c
59
fp = fopen(TMPFILENAME, "r");
regress/lib/libcrypto/aead/aeadtest.c
421
if ((f = fopen(argv[2], "r")) == NULL) {
regress/lib/libcrypto/evp/evptest.c
335
f=fopen(szTestFile, "r");
regress/lib/libcrypto/mlkem/parse_test_file.c
699
if ((fp = fopen(fn, "r")) == NULL)
regress/lib/libcrypto/x509/callback.c
459
output = fopen("callback.out", "w+");
regress/lib/libm/fpaccuracy/fpaccuracy.c
18
if ((out = fopen("fpaccuracy.out", "w")) == NULL)
regress/lib/libpthread/stdio/stdio.c
57
CHECKn((fp = fopen(fullname, "r")));
regress/lib/libpthread/stdio/stdio.c
74
CHECKn(fp1 = fopen(fullname, "r"));
regress/lib/libpthread/stdio/stdio.c
77
CHECKn(fp2 = fopen(fullname, "r"));
regress/lib/libssl/interop/server.c
174
file = fopen(dhparam, "r");
regress/lib/libz/minigzip.c
193
fopen(path, gz->write ? "wb" : "rb");
regress/lib/libz/minigzip.c
410
in = fopen(file, "rb");
regress/lib/libz/minigzip.c
465
out = fopen(outfile, "wb");
regress/lib/libz/minigzip.c
561
FILE * in = fopen(*argv, "rb");
regress/sys/crypto/aes/aestest.c
179
if ((tv = fopen(filename, "r")) == NULL)
regress/sys/net/rtable/util.c
230
if ((fp = fopen(filename, "r")) == NULL)
regress/sys/netinet/mcast/mcrecv.c
106
log = fopen(file, "w");
regress/sys/netinet/mcast/mcroute.c
151
log = fopen(file, "w");
regress/sys/netinet/mcast/mcsend.c
103
log = fopen(file, "w");
regress/sys/netinet/tcpthread/tcpthread.c
709
if ((fh = fopen("listen.addrs", "w")) == NULL)
regress/sys/netinet6/mcast6/mc6recv.c
107
log = fopen(file, "w");
regress/sys/netinet6/mcast6/mc6route.c
152
log = fopen(file, "w");
regress/sys/netinet6/mcast6/mc6send.c
105
log = fopen(file, "w");
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
336
in = fopen(argv[0], "r");
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
339
tin = fopen(argv[1], "r");
regress/usr.sbin/syslogd/ttylog.c
75
if ((lg = fopen(logfile, "w")) == NULL)
sbin/bioctl/bioctl.c
1338
if ((f = fopen(passfile, "r")) == NULL)
sbin/dhcp6leased/parse.y
556
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
sbin/dhcpleased/parse.y
684
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
sbin/disklabel/disklabel.c
273
if (!(t = fopen(argv[1], "r")))
sbin/disklabel/disklabel.c
631
fp = fopen(tmpfil, "r");
sbin/disklabel/editor.c
1536
if ((fp = fopen(fstabfile, "w"))) {
sbin/disklabel/editor.c
1871
else if ((cfile = fopen(filename, "r")) == NULL)
sbin/disklabel/editor.c
432
if ((fp = fopen(arg, "w")) == NULL) {
sbin/dump/itime.c
170
if ((df = fopen(dumpdates, "r+")) == NULL)
sbin/dump/itime.c
67
if ((df = fopen(dumpdates, "r")) == NULL) {
sbin/dump/itime.c
77
if ((df = fopen(dumpdates, "w")) == NULL) {
sbin/dump/itime.c
83
if ((df = fopen(dumpdates, "r")) == NULL) {
sbin/dump/optr.c
83
if ((mytty = fopen(_PATH_TTY, "r")) == NULL)
sbin/fdisk/fdisk.c
450
fp = fopen(args, "r");
sbin/ifconfig/brconfig.c
1700
f = fopen(fname, "r");
sbin/iked/ca.c
1822
if ((fp = fopen(file, "r")) == NULL) {
sbin/iked/config.c
1073
if ((fp = fopen(IKED_PRIVKEY, "r")) == NULL) {
sbin/iked/parse.y
1963
} else if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
sbin/ipsecctl/ipsecctl.c
144
fp = fopen(name, mode);
sbin/ipsecctl/parse.y
1398
} else if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
sbin/isakmpd/isakmpd.c
351
fp = fopen(pid_file, "w");
sbin/mount/mount.c
290
(mountdfp = fopen(_PATH_MOUNTDPID, "r")) != NULL) {
sbin/mountd/mountd.c
1131
if ((exp_file = fopen(exname, "r")) == NULL) {
sbin/mountd/mountd.c
2257
if ((mlfile = fopen(_PATH_RMOUNTLIST, "r")) == NULL) {
sbin/mountd/mountd.c
281
pidfile = fopen(_PATH_MOUNTDPID, "r");
sbin/mountd/mountd.c
291
pidfile = fopen(_PATH_MOUNTDPID, "w");
sbin/mountd/mountd.c
507
fp = fopen(_PATH_RMOUNTLIST, "a");
sbin/mountd/mountd.c
525
fp = fopen(_PATH_RMOUNTLIST, "w");
sbin/pfctl/pfctl.c
2225
fp = fopen(name, mode);
sbin/pfctl/pfctl.c
2964
f = fopen(file, "w");
sbin/pfctl/pfctl.c
3006
f = fopen(file, "r");
sbin/quotacheck/quotacheck.c
388
if ((qfo = fopen(quotafile, (flags&CHECK_DEBUG)? "r" : "r+")) == NULL) {
sbin/quotacheck/quotacheck.c
390
qfo = fopen(quotafile, "w+");
sbin/quotacheck/quotacheck.c
401
if ((qfi = fopen(quotafile, "r")) == NULL) {
sbin/restore/dirs.c
588
mf = fopen(modefile, "r");
sbin/restore/symtab.c
445
if ((fp = fopen(filename, "w")) == NULL) {
sbin/restore/tape.c
160
terminal = fopen(_PATH_TTY, "r");
sbin/restore/tape.c
163
terminal = fopen(_PATH_DEVNULL, "r");
sbin/savecore/savecore.c
408
if ((fp = fopen(path, "r")) == NULL)
sbin/savecore/savecore.c
426
if ((fp = fopen(path, "w")) == NULL)
sbin/savecore/savecore.c
641
if ((fp = fopen(path, "r")) == NULL)
sbin/scsi/libscsi.c
781
behave.db_f = fopen(s, "w");
sbin/scsi/scsi.c
461
modes = fopen(mode_db, "r");
sbin/scsi/scsi.c
761
if ((edit_file = fopen(edit_name, "r")) == NULL)
sbin/sysctl/sysctl.c
293
if ((fp = fopen(conffile, "r")) == NULL)
sbin/unwind/libunbound/iterator/iter_hints.c
323
FILE* f = fopen(fname, "r");
sbin/unwind/libunbound/libunbound/libunbound.c
1191
in = fopen(fname, "r");
sbin/unwind/libunbound/libunbound/libunbound.c
1265
in = fopen(fname, "r");
sbin/unwind/libunbound/services/authzone.c
1523
inc = fopen(incfile, "r");
sbin/unwind/libunbound/services/authzone.c
1592
in = fopen(zfilename, "r");
sbin/unwind/libunbound/services/authzone.c
1740
out = fopen(fname, "w");
sbin/unwind/libunbound/services/authzone.c
5231
out = fopen(fname, "w");
sbin/unwind/libunbound/util/config_file.c
1579
in = fopen(fname, "r");
sbin/unwind/libunbound/util/config_file.c
2034
if ((range_fd = fopen(LINUX_IP_LOCAL_PORT_RANGE_PATH, "r")) != NULL) {
sbin/unwind/libunbound/util/configlexer.c
3711
input = fopen(filename, "r");
sbin/unwind/libunbound/util/edns.c
252
f = fopen(cookie_secret_file, "r");
sbin/unwind/libunbound/util/log.c
148
f = fopen(filename, "a");
sbin/unwind/libunbound/util/net_help.c
1843
f = fopen(fstr, "rb");
sbin/unwind/libunbound/validator/autotrust.c
1004
if (!(fd = fopen(nm, "r"))) {
sbin/unwind/libunbound/validator/autotrust.c
1218
out = fopen(tempf, "w");
sbin/unwind/libunbound/validator/val_anchor.c
436
FILE* in = fopen(fname, "r");
sbin/unwind/libunbound/validator/val_anchor.c
741
FILE* in = fopen(fname, "r");
sbin/unwind/parse.y
748
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
sys/dev/microcode/aic7xxx/aicasm.c
167
if ((listfile = fopen(optarg, "w")) == NULL) {
sys/dev/microcode/aic7xxx/aicasm.c
183
if ((ofile = fopen(optarg, "w")) == NULL) {
sys/dev/microcode/aic7xxx/aicasm.c
191
if ((regdiagfile = fopen(optarg, "w")) == NULL) {
sys/dev/microcode/aic7xxx/aicasm.c
198
if ((regfile = fopen(optarg, "w")) == NULL) {
sys/dev/microcode/aic7xxx/aicasm.c
536
if ((ifile = fopen(ifilename, "r")) == NULL) {
sys/dev/microcode/cyclades/cyzfirm2h.c
71
out_file = fopen(argv[2], "w+");
sys/dev/microcode/myx/build.c
47
f = fopen(file, "w");
sys/dev/microcode/siop/ncr53cxxx.c
338
infp = fopen (sourcefile, "r");
sys/dev/microcode/siop/ncr53cxxx.c
403
outfp = fopen (outputfile, "w");
sys/dev/microcode/siop/ncr53cxxx.c
405
listfp = fopen (listfile, "w");
sys/dev/microcode/siop/ncr53cxxx.c
407
errfp = fopen (errorfile, "w");
sys/dev/microcode/udl/build.c
38
if ((file = fopen(FILENAME, "w")) == NULL)
sys/dev/pci/drm/radeon/mkregtable.c
209
file = fopen(filename, "r");
sys/lib/libz/crc32.c
283
out = fopen("crc32.h", "w");
sys/lib/libz/trees.c
387
FILE *header = fopen("trees.h", "w");
sys/lib/libz/zutil.h
139
fopen((name), (mode), "mbc=60", "ctx=stm", "rfm=fix", "mrs=512")
sys/lib/libz/zutil.h
207
# define F_OPEN(name, mode) fopen((name), (mode))
usr.bin/awk/lib.c
171
else if ((infile = fopen(file, "r")) == NULL)
usr.bin/awk/main.c
317
else if ((yyin = fopen(pfile[curpfile], "r")) == NULL)
usr.bin/awk/maketab.c
133
if ((fp = fopen(argv[1], "r")) == NULL) {
usr.bin/awk/run.c
2410
fp = fopen(s, "w");
usr.bin/awk/run.c
2412
fp = fopen(s, "a");
usr.bin/awk/run.c
2419
fp = strcmp(s, "-") == 0 ? stdin : fopen(s, "r"); /* "-" is stdin */
usr.bin/column/column.c
125
if ((fp = fopen(*argv, "r"))) {
usr.bin/comm/comm.c
169
if ((fp = fopen(name, "r")) == NULL)
usr.bin/csplit/csplit.c
142
} else if ((infile = fopen(infn, "r")) == NULL)
usr.bin/csplit/csplit.c
241
if ((fp = fopen(currfile, "w+")) == NULL)
usr.bin/ctags/ctags.c
131
if (!(inf = fopen(argv[step], "r"))) {
usr.bin/ctags/ctags.c
145
if (!(outf = fopen(outfile, aflag ? "a" : "w")))
usr.bin/ctags/ctags.c
254
if ((fp = fopen(tagsfile, "r")) == NULL)
usr.bin/cu/command.c
154
f = fopen(expanded, "r");
usr.bin/cu/command.c
219
record_file = fopen(file, "a");
usr.bin/cu/xmodem.c
121
f = fopen(file, "r");
usr.bin/cut/cut.c
134
if ((fp = fopen(*argv, "r"))) {
usr.bin/cvs/add.c
531
if ((fp = fopen(path, "w+")) == NULL)
usr.bin/cvs/client.c
934
if ((fp = fopen(fpath, "w+")) == NULL) {
usr.bin/cvs/client.c
984
if ((fp = fopen(tagpath, "w+")) == NULL) {
usr.bin/cvs/config.c
90
if ((fp = fopen(fpath, "r")) == NULL)
usr.bin/cvs/cvs.c
449
fp = fopen(rcpath, "r");
usr.bin/cvs/edit.c
274
if ((fp = fopen(CVS_PATH_NOTIFY, "a")) == NULL)
usr.bin/cvs/edit.c
358
if ((fp = fopen(CVS_PATH_NOTIFY, "a")) == NULL)
usr.bin/cvs/edit.c
438
if (((fp = fopen(CVS_PATH_BASEREV, "r")) == NULL) && errno != ENOENT) {
usr.bin/cvs/edit.c
444
if ((tfp = fopen(CVS_PATH_BASEREVTMP, "w")) == NULL) {
usr.bin/cvs/entries.c
268
fp = fopen(ep->cef_bpath, "w");
usr.bin/cvs/entries.c
323
if ((fp = fopen(ep->cef_lpath, "a")) == NULL)
usr.bin/cvs/entries.c
351
if ((fp = fopen(ep->cef_lpath, "a")) == NULL)
usr.bin/cvs/entries.c
446
if ((fp = fopen(tagpath, "r")) == NULL) {
usr.bin/cvs/entries.c
523
if ((fp = fopen(tagpath, "w+")) == NULL) {
usr.bin/cvs/entries.c
69
if ((fp = fopen(ep->cef_path, "r")) != NULL) {
usr.bin/cvs/entries.c
84
if ((fp = fopen(ep->cef_lpath, "r")) != NULL) {
usr.bin/cvs/file.c
110
ifp = fopen(path, "r");
usr.bin/cvs/file.c
454
if ((fp = fopen(fpath, "r")) != NULL) {
usr.bin/cvs/root.c
183
if ((fp = fopen(rootpath, "r")) == NULL) {
usr.bin/cvs/server.c
252
if ((fp = fopen(fpath, "w+")) == NULL) {
usr.bin/cvs/server.c
271
if ((fp = fopen(tagpath, "w+")) == NULL) {
usr.bin/cvs/trigger.c
395
if ((fp = fopen(fpath, "r")) == NULL) {
usr.bin/cvs/util.c
486
if ((fp = fopen(fpath, "r")) != NULL) {
usr.bin/cvs/util.c
529
if ((fp = fopen(buf, "w")) == NULL)
usr.bin/cvs/util.c
538
if ((fp = fopen(buf, "w")) == NULL)
usr.bin/cvs/util.c
591
if ((fp = fopen(CVS_PATH_REPOSITORY, "r")) != NULL) {
usr.bin/dc/dc.c
94
file = fopen(argv[0], "r");
usr.bin/deroff/deroff.c
392
if ((fd = fopen(p, "r")) == NULL)
usr.bin/diff/diff.c
303
else if ((fp = fopen(file, "r")) == NULL)
usr.bin/diff/diffreg.c
314
f1 = fopen(_PATH_DEVNULL, "r");
usr.bin/diff/diffreg.c
326
f1 = fopen(file1, "r");
usr.bin/diff/diffreg.c
335
f2 = fopen(_PATH_DEVNULL, "r");
usr.bin/diff/diffreg.c
347
f2 = fopen(file2, "r");
usr.bin/diff3/diff3prog.c
190
if ((fp[i] = fopen(argv[i + 2], "r")) == NULL)
usr.bin/diff3/diff3prog.c
209
fp[0] = fopen(name, "r");
usr.bin/dig/dig.c
1777
batchfp = fopen(batchname, "r");
usr.bin/dig/lib/dns/gen.c
552
if ((fd = fopen(prefix,"r")) != NULL) {
usr.bin/dig/lib/dns/gen.c
561
if ((fd = fopen(buf,"r")) != NULL) {
usr.bin/dig/lib/dns/gen.c
568
if ((fd = fopen(suffix,"r")) != NULL) {
usr.bin/dig/lib/isc/lex.c
197
if ((stream = fopen(filename, "r")) == NULL)
usr.bin/dig/lib/lwres/lwconfig.c
396
if ((fp = fopen(filename, "r")) == NULL)
usr.bin/doas/doas.c
161
yyfp = fopen(filename, "r");
usr.bin/file/file.c
186
magicfp = fopen(magicpath, "r");
usr.bin/file/file.c
193
magicfp = fopen(magicpath, "r");
usr.bin/finger/lprint.c
260
if ((fp = fopen(tbuf, "r")) == NULL)
usr.bin/fmt/fmt.c
364
if ((f = fopen(name, "r")) == NULL) {
usr.bin/from/from.c
87
if ((fp = fopen(file, "r")) == NULL) {
usr.bin/ftp/cookie.c
74
fp = fopen(cookiefile, "r");
usr.bin/ftp/ftp.c
1023
fout = fopen(local, lmode);
usr.bin/ftp/ftp.c
650
fin = fopen(local, "r");
usr.bin/ftp/ruserpass.c
91
cfile = fopen(buf, "r");
usr.bin/ftp/util.c
428
*ftemp = fopen(temp, "r");
usr.bin/gprof/gprof.c
280
if((pfile = fopen(filename, "r")) == NULL)
usr.bin/gprof/gprof.c
360
if ( ( sfile = fopen ( sumfile , "w" ) ) == NULL )
usr.bin/gprof/printgprof.c
641
blurbfile = fopen( blurbname , "r" );
usr.bin/grep/grep.c
235
if ((f = fopen(fn, "r")) == NULL)
usr.bin/head/head.c
106
fp = fopen(name, "r");
usr.bin/hexdump/parse.c
56
if ((fp = fopen(name, "r")) == NULL)
usr.bin/htpasswd/htpasswd.c
149
if ((in = fopen(file, "r+")) == NULL) {
usr.bin/htpasswd/htpasswd.c
154
if ((out = fopen(file, "w")) == NULL)
usr.bin/indent/args.c
174
if ((f = fopen(option_source = fname, "r")) != NULL) {
usr.bin/indent/args.c
179
if ((f = fopen(option_source = prof, "r")) != NULL) {
usr.bin/indent/indent.c
1323
input = fopen(bakfile, "r");
usr.bin/indent/indent.c
1327
output = fopen(in_name, "w");
usr.bin/indent/indent.c
306
input = fopen(in_name, "r");
usr.bin/indent/indent.c
316
output = fopen(out_name, "w");
usr.bin/join/join.c
206
else if ((F1->fp = fopen(*argv, "r")) == NULL)
usr.bin/join/join.c
211
else if ((F2->fp = fopen(*argv, "r")) == NULL)
usr.bin/lam/lam.c
176
else if ((ip->fp = fopen(argv[optind], "r")) == NULL)
usr.bin/lastcomm/lastcomm.c
87
if ((fp = fopen(acctfile, "r")) == NULL || fstat(fileno(fp), &sb))
usr.bin/ldap/ldapclient.c
248
else if ((fp = fopen(secretfile, "r")) == NULL)
usr.bin/less/cmdbuf.c
1212
f = fopen(filename, "r");
usr.bin/less/cmdbuf.c
1291
f = fopen(filename, "w");
usr.bin/less/lesskey.c
742
else if ((desc = fopen(infile, "r")) == NULL) {
usr.bin/less/lesskey.c
772
if ((out = fopen(outfile, "wb")) == NULL) {
usr.bin/less/tags.c
208
f = fopen(p, "r");
usr.bin/lex/main.c
1464
backing_up_file = fopen(backing_name, "w");
usr.bin/lex/main.c
384
if ((tablesout = fopen(tablesfilename, "w")) == NULL)
usr.bin/lex/main.c
399
if (skelname && (skelfile = fopen(skelname, "r")) == NULL)
usr.bin/locate/code/locate.code.c
134
if ((fp = fopen(argv[0], "r")) == NULL)
usr.bin/locate/locate/locate.c
187
if ((fp = fopen(path_fcodes, "r")) == NULL)
usr.bin/m4/eval.c
737
if ((pf = fopen(pfile, "r")) != NULL) {
usr.bin/m4/gnum4.c
122
if ((f = fopen(path, "r")) != 0) {
usr.bin/m4/gnum4.c
135
f = fopen(filename, "r");
usr.bin/m4/gnum4.c
676
f = fopen(name, "r");
usr.bin/m4/trace.c
61
traceout = fopen(name, "w");
usr.bin/mail/lex.c
130
if ((itf = fopen(tempname, "re")) == NULL)
usr.bin/mail/popen.c
70
if ((fp = fopen(file, mode)) != NULL) {
usr.bin/make/arch.c
383
arch = fopen(archive, "r");
usr.bin/make/arch.c
712
arch = fopen(archive, mode);
usr.bin/make/main.c
858
stream = fopen(fname, "r");
usr.bin/make/parse.c
1157
f = fopen(fullname, "r");
usr.bin/make/stats.c
152
f = fopen(name, "w");
usr.bin/mandoc/cgi.c
1267
if ((fp = fopen("manpath.conf", "r")) == NULL) {
usr.bin/mandoc/cgi.c
766
if ((f = fopen(file, "r")) == NULL) {
usr.bin/mandoc/dba_write.c
36
ofp = fopen(fname, "w");
usr.bin/mandoc/mandocdb.c
1279
stream = fd == -1 ? fopen(mlink->file, "r") : fdopen(fd, "r");
usr.bin/mandoc/manpath.c
204
if ((stream = fopen(file, "r")) == NULL)
usr.bin/mg/fileio.c
42
if ((*ffp = fopen(fn, "r")) == NULL) {
usr.bin/mg/fileio.c
85
if ((ffp = fopen(bp->b_fname, "r")) == NULL) {
usr.bin/mg/log.c
404
if ((*fd = fopen(tmp2, "w")) == NULL)
usr.bin/mg/tags.c
265
if ((fd = fopen(fn, "r")) == NULL) {
usr.bin/mklocale/yacc.y
268
if ((ofile = fopen(locale_file, "w")) == 0)
usr.bin/nc/netcat.c
302
else if ((Zflag = fopen(optarg, "w")) == NULL)
usr.bin/newsyslog/newsyslog.c
1012
if ((f = fopen(log, "a")) == NULL)
usr.bin/newsyslog/newsyslog.c
1151
fp = fopen(fname, "r");
usr.bin/newsyslog/newsyslog.c
1174
fp = fopen(ent->log, "r");
usr.bin/newsyslog/newsyslog.c
1204
fp = fopen(fname, "w");
usr.bin/newsyslog/newsyslog.c
1454
if ((src = fopen(from, "r")) == NULL)
usr.bin/newsyslog/newsyslog.c
1456
if ((dst = fopen(to, "w")) == NULL)
usr.bin/newsyslog/newsyslog.c
367
if ((f = fopen(pidfile, "r")) == NULL) {
usr.bin/newsyslog/newsyslog.c
487
else if ((f = fopen(conf, "r")) == NULL)
usr.bin/nm/nm.c
257
if (!(fp = fopen(fname, "r"))) {
usr.bin/openssl/certhash.c
518
if ((f = fopen(dep->d_name, "r")) == NULL) {
usr.bin/openssl/enc.c
377
infile = fopen(cfg.keyfile, "r");
usr.bin/paste/paste.c
119
else if ((lp->fp = fopen(p, "r")) == NULL)
usr.bin/paste/paste.c
187
else if ((fp = fopen(p, "r")) == NULL) {
usr.bin/patch/ed.c
234
ofp = fopen(filename, "w");
usr.bin/patch/inp.c
285
if ((ifp = fopen(filename, "r")) == NULL)
usr.bin/patch/patch.c
1005
ofp = fopen(name, "w");
usr.bin/patch/patch.c
1016
rejfp = fopen(name, "w");
usr.bin/patch/pch.c
103
pfp = fopen(TMPPATNAME, "w");
usr.bin/patch/pch.c
111
pfp = fopen(filename, "r");
usr.bin/pkgconf/cli/main.c
1308
error_msgout = fopen(PATH_DEV_NULL, "w");
usr.bin/pkgconf/cli/main.c
1436
logfile_out = fopen(logfile_arg, "w");
usr.bin/pkgconf/libpkgconf/personality.c
263
f = fopen(pathbuf, "r");
usr.bin/pkgconf/libpkgconf/pkg.c
692
if (!(client->flags & PKGCONF_PKG_PKGF_NO_UNINSTALLED) && (f = fopen(uninst_locbuf, "r")) != NULL)
usr.bin/pkgconf/libpkgconf/pkg.c
697
else if ((f = fopen(locbuf, "r")) != NULL)
usr.bin/pkgconf/libpkgconf/pkg.c
734
f = fopen(filebuf, "r");
usr.bin/pkgconf/libpkgconf/pkg.c
852
if ((f = fopen(name, "r")) != NULL)
usr.bin/pr/pr.c
1457
if ((inf = fopen(argv[eoptind], "r")) == NULL) {
usr.bin/rcs/diff.c
318
f1 = fopen(file1, "r");
usr.bin/rcs/diff.c
324
f2 = fopen(file2, "r");
usr.bin/rcs/diff3.c
406
if ((fp[i] = fopen(argv[i + 2], "r")) == NULL) {
usr.bin/rcs/diff3.c
540
fp[0] = fopen(name, "r");
usr.bin/rcs/ident.c
73
if ((fp = fopen(argv[i], "r")) == NULL) {
usr.bin/rcs/rcs.c
383
if ((src = fopen(from, "r")) == NULL) {
usr.bin/rcs/rcs.c
387
if ((dst = fopen(to, "w")) == NULL) {
usr.bin/rdist/message.c
214
if ((msgfac->mf_fptr = fopen(strptr, "w")) == NULL)
usr.bin/rdist/rdist.c
322
fp = fopen(file, "r");
usr.bin/rdistd/server.c
804
if ((f1 = fopen(target, "r")) == NULL) {
usr.bin/rdistd/server.c
811
if ((f2 = fopen(new, "r")) == NULL) {
usr.bin/rev/rev.c
99
fp = fopen(path, "r");
usr.bin/rpcgen/rpc_main.c
249
fout = fopen(outfile, "w");
usr.bin/rsync/rules.c
249
if ((fp = fopen(file, "r")) == NULL)
usr.bin/script/script.c
132
if ((fscript = fopen(fname, aflg ? "a" : "w")) == NULL)
usr.bin/sdiff/edit.c
166
if (!(file = fopen(filename, "r"))) {
usr.bin/sdiff/sdiff.c
255
if (outfile && (outfp = fopen(outfile, "w")) == NULL)
usr.bin/sdiff/sdiff.c
338
if ((file1 = fopen(filename1, "r")) == NULL)
usr.bin/sdiff/sdiff.c
340
if ((file2 = fopen(filename2, "r")) == NULL)
usr.bin/sed/main.c
237
if ((f = fopen(script->s, "r")) == NULL)
usr.bin/sed/main.c
421
if ((infile = fopen(fname, "r")) == NULL) {
usr.bin/sed/main.c
495
if ((file_fd = fopen(file->fname, "r")) == NULL)
usr.bin/sed/process.c
463
if ((f = fopen(appends[idx].s, "r")) == NULL)
usr.bin/sendbug/sendbug.c
136
frfp = fopen(pr_form, "r");
usr.bin/sendbug/sendbug.c
197
dfp = fopen(_PATH_DMESG, "r");
usr.bin/sendbug/sendbug.c
418
if ((fp = fopen(file, "r")) == NULL)
usr.bin/sendbug/sendbug.c
524
if ((fp = fopen(pathname, "r")) == NULL) {
usr.bin/sort/file.c
488
} else if ((file = fopen(fn, mode)) == NULL)
usr.bin/sort/sort.c
174
f = fopen(fn, "r");
usr.bin/sort/sort.c
774
if ((fp = fopen(random_source, "r")) == NULL)
usr.bin/spell/spellprog.c
300
else if ((found = fopen(outfile, "w")) == NULL)
usr.bin/ssh/authfile.c
204
if ((f = fopen(filename, "r")) == NULL)
usr.bin/ssh/authfile.c
379
if ((f = fopen(filename, "r")) == NULL)
usr.bin/ssh/dh.c
161
if ((f = fopen(get_moduli_filename(), "r")) == NULL) {
usr.bin/ssh/hostfile.c
289
if ((f = fopen(path, "r")) == NULL) {
usr.bin/ssh/hostfile.c
544
if ((f = fopen(filename, "a+")) == NULL)
usr.bin/ssh/hostfile.c
965
if ((f = fopen(path, "r")) == NULL)
usr.bin/ssh/moduli.c
439
if ((fp = fopen(cpfile, "r")) == NULL)
usr.bin/ssh/readconf.c
2620
if ((f = fopen(filename, "r")) == NULL)
usr.bin/ssh/servconf.c
2562
if ((f = fopen(filename, "r")) == NULL) {
usr.bin/ssh/session.c
1015
if ((f = fopen(nl, "r")) != NULL) {
usr.bin/ssh/session.c
708
f = fopen(login_getcapstr(lc, "welcome", "/etc/motd",
usr.bin/ssh/session.c
755
f = fopen(filename, "r");
usr.bin/ssh/sftp.c
2515
(infile = fopen(optarg, "r")) == NULL)
usr.bin/ssh/ssh-keygen.c
2128
} else if ((f = fopen(identity_file, "r")) == NULL)
usr.bin/ssh/ssh-keygen.c
2230
} else if ((krl_spec = fopen(path, "r")) == NULL)
usr.bin/ssh/ssh-keygen.c
2931
else if ((out = fopen(out_file, "w")) == NULL) {
usr.bin/ssh/ssh-keygen.c
2986
if ((in = fopen(identity_file, "r")) == NULL) {
usr.bin/ssh/ssh-keygen.c
2995
else if ((out = fopen(out_file, "a")) == NULL) {
usr.bin/ssh/ssh-keygen.c
601
if ((fp = fopen(identity_file, "r")) == NULL)
usr.bin/ssh/ssh-keygen.c
647
if ((fp = fopen(identity_file, "r")) == NULL)
usr.bin/ssh/ssh-keygen.c
684
if ((fp = fopen(identity_file, "r")) == NULL)
usr.bin/ssh/ssh-keygen.c
910
} else if ((f = fopen(path, "r")) == NULL)
usr.bin/ssh/ssh-keyscan.c
773
else if ((fp = fopen(argv[j], "r")) == NULL)
usr.bin/ssh/sshd.c
1775
FILE *f = fopen(options.pid_file, "w");
usr.bin/ssh/sshsig.c
1038
if ((f = fopen(path, "r")) == NULL) {
usr.bin/ssh/sshsig.c
1092
if ((f = fopen(path, "r")) == NULL) {
usr.bin/ssh/sshsig.c
998
if ((f = fopen(path, "r")) == NULL) {
usr.bin/tail/tail.c
156
if ((tf[i].fp = fopen(tf[i].fname, "r")) == NULL ||
usr.bin/telnet/commands.c
1676
if ((rcfile = fopen(rcname, "r")) == 0) {
usr.bin/telnet/utilities.c
77
NetTrace = fopen(file, "we");
usr.bin/tmux/cfg.c
110
if ((f = fopen(path, "rb")) == NULL) {
usr.bin/tmux/file.c
329
f = fopen(cf->path, mode);
usr.bin/tmux/file.c
399
f = fopen(cf->path, "rb");
usr.bin/tmux/log.c
65
log_file = fopen(path, "a");
usr.bin/tmux/prompt-history.c
120
f = fopen(history_file, "w");
usr.bin/tmux/prompt-history.c
90
f = fopen(history_file, "r");
usr.bin/tmux/spawn.c
642
f = fopen(es->path, "r");
usr.bin/tset/tset.c
584
if ((fp = fopen("/etc/ttytype", "r")) != 0
usr.bin/tset/tset.c
585
|| (fp = fopen("/etc/ttys", "r")) != 0) {
usr.bin/tsort/tsort.c
894
f = fopen(files[j], "r");
usr.bin/tsort/tsort.c
905
f = fopen(argv[0], "r");
usr.bin/ul/ul.c
152
f = fopen(argv[optind],"r");
usr.bin/unifdef/unifdef.c
1461
input = fopen(fn, "rb");
usr.bin/unifdef/unifdef.c
404
input = fopen(ifn, "rb");
usr.bin/unifdef/unifdef.c
414
output = fopen(ofn, "wb");
usr.bin/units/units.c
106
unitfile = fopen(userfile, "r");
usr.bin/units/units.c
113
unitfile = fopen(UNITSFILE, "r");
usr.bin/unvis/unvis.c
60
if ((fp=fopen(*argv, "r")) != NULL) {
usr.bin/usbhidaction/usbhidaction.c
242
f = fopen(conf, "r");
usr.bin/uudecode/uudecode.c
140
infp = fopen(infile = *argv, "r");
usr.bin/uuencode/uuencode.c
124
output = fopen(outfile, "w+");
usr.bin/vacation/vacation.c
455
mfp = fopen(VMSG, "r");
usr.bin/vi/common/main.c
187
if ((gp->tracefp = fopen(optarg, "w")) == NULL) {
usr.bin/vi/ex/ex_read.c
251
if ((fp = fopen(name, "r")) == NULL || fstat(fileno(fp), &sb)) {
usr.bin/vis/vis.c
113
if ((fp=fopen(*argv, "r")) != NULL) {
usr.bin/w/w.c
174
if ((ut = fopen(_PATH_UTMP, "r")) == NULL)
usr.bin/wall/wall.c
126
if (!(fp = fopen(_PATH_UTMP, "r")))
usr.bin/who/who.c
298
if (!(ufp = fopen(name, "r"))) {
usr.bin/x99token/x99token.c
144
if ((fp = fopen(keyfile, "w")) == NULL)
usr.bin/x99token/x99token.c
89
else if ((fp = fopen(keyfile, "r")) == NULL)
usr.bin/xargs/xargs.c
614
if ((ttyfp = fopen(_PATH_TTY, "r")) == NULL)
usr.bin/yacc/main.c
251
input_file = fopen(input_file_name, "r");
usr.bin/yacc/main.c
260
verbose_file = fopen(verbose_file_name, "w");
usr.bin/yacc/main.c
265
defines_file = fopen(defines_file_name, "w");
usr.bin/yacc/main.c
270
output_file = fopen(output_file_name, "w");
usr.bin/yacc/main.c
275
code_file = fopen(code_file_name, "w");
usr.sbin/ac/ac.c
109
else if ((fp = fopen(name, "r")) == NULL)
usr.sbin/acme-client/acctproc.c
554
if ((f = fopen(acctkey, "r")) == NULL && errno == ENOENT) {
usr.sbin/acme-client/acctproc.c
555
f = fopen(acctkey, "wx");
usr.sbin/acme-client/keyproc.c
100
f = fopen(keyfile, "wx");
usr.sbin/acme-client/keyproc.c
99
if ((f = fopen(keyfile, "r")) == NULL && errno == ENOENT) {
usr.sbin/acme-client/parse.y
817
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/acme-client/revokeproc.c
106
if ((f = fopen(certfile, "r")) == NULL && errno != ENOENT) {
usr.sbin/acpidump/acpidump.c
638
fhdr = fopen(name, "w");
usr.sbin/amd/amd/info_file.c
190
FILE *mapf = fopen(map, "r");
usr.sbin/amd/amd/xutil.c
352
new_logfp = fopen(logfile, "a");
usr.sbin/arp/arp.c
192
if ((fp = fopen(name, "r")) == NULL)
usr.sbin/authpf/authpf.c
435
if ((f = fopen(filename, "r")) == NULL)
usr.sbin/authpf/authpf.c
469
if ((f = fopen(PATH_ALLOWFILE, "r")) == NULL) {
usr.sbin/authpf/authpf.c
600
if ((f = fopen(tmp, "r")) == NULL) {
usr.sbin/authpf/authpf.c
97
config = fopen(PATH_CONFFILE, "r");
usr.sbin/bgpd/parse.y
4061
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/btrace/btrace.c
254
fp = fopen(filename, "r");
usr.sbin/config/main.c
216
cmdfp = fopen(cmdfile, "r");
usr.sbin/config/main.c
723
fp = fopen("Makefile", "w");
usr.sbin/config/main.c
783
if ((fp = fopen("options", "r"))) {
usr.sbin/config/main.c
801
if ((fp = fopen("options", "w+"))) {
usr.sbin/config/mkheaders.c
111
if ((fp = fopen(fname, "w")) == NULL)
usr.sbin/config/mkheaders.c
158
if ((fp = fopen(fname, "r")) == NULL)
usr.sbin/config/mkheaders.c
175
if ((fp = fopen(fname, "w")) == NULL)
usr.sbin/config/mkheaders.c
93
if ((fp = fopen(fname, "r")) == NULL)
usr.sbin/config/mkioconf.c
123
if ((ifp = fopen(ifn, "r")) != NULL) {
usr.sbin/config/mkioconf.c
80
if ((fp = fopen("ioconf.c", "w")) == NULL) {
usr.sbin/config/mkmakefile.c
82
if ((ifp = fopen(ifname, "r")) == NULL) {
usr.sbin/config/mkmakefile.c
87
if ((ofp = fopen("Makefile", "w")) == NULL) {
usr.sbin/config/mkswap.c
94
if ((fp = fopen(fname, "w")) == NULL) {
usr.sbin/cron/client.c
81
if ((fp = fopen(allow_file, "r")) != NULL) {
usr.sbin/cron/client.c
84
} else if ((fp = fopen(deny_file, "r")) != NULL) {
usr.sbin/cron/crontab.c
198
if (!(NewCrontab = fopen(Filename, "r")))
usr.sbin/cron/crontab.c
215
if (!(f = fopen(n, "r"))) {
usr.sbin/cron/crontab.c
268
if (!(f = fopen(n, "r"))) {
usr.sbin/cron/crontab.c
272
if (!(f = fopen(_PATH_DEVNULL, "r")))
usr.sbin/crunchgen/crunchgen.c
267
if ((cf = fopen(curfilename, "r")) == NULL) {
usr.sbin/crunchgen/crunchgen.c
762
if ((cachef = fopen(cachename, "w")) == NULL) {
usr.sbin/crunchgen/crunchgen.c
794
if ((outmk = fopen(outmkname, "w")) == NULL) {
usr.sbin/crunchgen/crunchgen.c
820
if ((outcf = fopen(outcfname, "w")) == NULL) {
usr.sbin/crunchgen/crunchide.c
176
if ((keepf = fopen(filename, "r")) == NULL) {
usr.sbin/dhcpd/confpars.c
134
if ((cfile = fopen(path_dhcpd_db, "r")) == NULL) {
usr.sbin/dhcpd/confpars.c
90
if ((cfile = fopen(path_dhcpd_conf, "r")) == NULL)
usr.sbin/dvmrpd/parse.y
700
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/eigrpd/parse.y
949
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/hostapd/parse.y
1740
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/hostctl/hostctl.c
135
else if ((outfp = fopen(out, "w")) == NULL)
usr.sbin/hostctl/hostctl.c
76
else if ((fp = fopen(input, "r")) == NULL)
usr.sbin/httpd/parse.y
1985
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/httpd/server_http.c
166
if ((fp = fopen(auth->auth_htpasswd, "r")) == NULL)
usr.sbin/ifstated/parse.y
694
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ikectl/ikeca.c
443
if ((f = fopen(passfile, "wb")) == NULL)
usr.sbin/ikectl/ikeca.c
630
if ((ifp = fopen(src, "r")) == NULL)
usr.sbin/inetd/inetd.c
1018
fconfig = fopen(CONFIG, "r");
usr.sbin/installboot/powerpc64_installboot.c
261
f = fopen(dst, "w+");
usr.sbin/iscsictl/parse.y
664
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/kgmon/kgmon.c
317
fp = fopen(buf, "w");
usr.sbin/ldapd/parse.y
789
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ldapd/schema.c
1067
if ((schema->fp = fopen(filename, "r")) == NULL) {
usr.sbin/ldomctl/ldomctl.c
210
fp = fopen("hv.md", "w");
usr.sbin/ldomctl/ldomctl.c
218
fp = fopen("pri", "w");
usr.sbin/ldomctl/ldomctl.c
234
fp = fopen(name, "w");
usr.sbin/ldomctl/mdesc.c
634
fp = fopen(path, "r");
usr.sbin/ldomctl/mdesc.c
673
fp = fopen(path, "w");
usr.sbin/ldomctl/mdesc.c
689
fp = fopen(path, "r");
usr.sbin/ldomctl/mdstore.c
348
fp = fopen(path, "r");
usr.sbin/ldomctl/parse.y
635
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ldpd/parse.y
1263
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/lpd/engine_lpr.c
244
if ((fp = fopen(_PATH_HOSTSLPD, "r")) == NULL) {
usr.sbin/lpd/lp.c
424
return fopen(path, "r");
usr.sbin/lpd/parse.y
561
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/lpd/printer.c
1021
efp = fopen(prn->efile, "r");
usr.sbin/lpr/lpd/lpd.c
657
hostf = fopen(_PATH_HOSTSLPD, "r");
usr.sbin/lpr/lpd/printjob.c
1163
(fp = fopen(tempfile, "r")) == NULL) {
usr.sbin/lpr/lpd/recvjob.c
309
if ((fp = fopen(fn, "r")) == NULL)
usr.sbin/mailwrapper/mailwrapper.c
98
config = fopen(_PATH_MAILERCONF, "r");
usr.sbin/makefs/cd9660/cd9660_write.c
397
if ((rf = fopen(filename, "rb")) == NULL) {
usr.sbin/makefs/cd9660/cd9660_write.c
63
if ((fd = fopen(image, "w+")) == NULL)
usr.sbin/mopd/mopa.out/mopa.out.c
196
out = fopen (argv[2], "w");
usr.sbin/mrouted/cfparse.y
524
if ((f = fopen(configfilename, "r")) == NULL) {
usr.sbin/mrouted/main.c
169
fp = fopen(genidfilename, "r");
usr.sbin/mrouted/main.c
177
fp = fopen(genidfilename, "w");
usr.sbin/mrouted/main.c
449
fp = fopen(dumpfilename, "w");
usr.sbin/mrouted/main.c
467
fp = fopen(cachefilename, "w");
usr.sbin/mrouted/main.c
600
if ((f = fopen("/tmp/mrouted.clog", "w")) == NULL) {
usr.sbin/ndp/ndp.c
247
if ((fp = fopen(name, "r")) == NULL) {
usr.sbin/netgroup_mkdb/netgroup_mkdb.c
200
if ((fp = fopen(fname, "r")) == NULL)
usr.sbin/npppd/npppd/npppd.c
380
if ((pidfp = fopen(pidpath0, "w+")) == NULL) {
usr.sbin/npppd/npppd/parse.y
1432
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/nsd/dbcreate.c
98
FILE *out = fopen(filename, "w");
usr.sbin/nsd/ixfr.c
1762
in = fopen(ixfrfile, "r");
usr.sbin/nsd/ixfr.c
2141
out = fopen(ixfrfile, "w");
usr.sbin/nsd/ixfrcreate.c
147
out = fopen(file_name, "w");
usr.sbin/nsd/ixfrcreate.c
890
*spool = fopen(ixfrcr->file_name, "r");
usr.sbin/nsd/options.c
257
in = fopen(cfg_parser->filename, "r");
usr.sbin/nsd/options.c
552
opt->zonelist = fopen(opt->zonelistfile, "r+");
usr.sbin/nsd/options.c
712
opt->zonelist = fopen(opt->zonelistfile, "w+");
usr.sbin/nsd/options.c
875
out = fopen(outname, "w+");
usr.sbin/nsd/remote.c
2562
else if((f = fopen(nsd->options->cookie_secret_file, "w")) == NULL ) {
usr.sbin/nsd/simdzone/src/zone.c
271
if ((file->handle = fopen(file->name, "rb")))
usr.sbin/nsd/util.c
111
file = fopen(filename, "a");
usr.sbin/nsd/util.c
1224
else if((f = fopen(fn, "r")) != NULL)
usr.sbin/nsd/util.c
1240
&& (f = fopen((fn = CONFIGDIR"/nsd_cookiesecrets.txt"),"r")))
usr.sbin/nsd/util.c
93
FILE *file = fopen(filename, "a");
usr.sbin/nsd/xfr-inspect.c
324
if(!(in=fopen(fname, "r"))) {
usr.sbin/nsd/xfr-inspect.c
481
if(!(in=fopen(fname, "r"))) {
usr.sbin/nsd/xfrd-disk.c
156
in = fopen(statefile, "r");
usr.sbin/nsd/xfrd-disk.c
462
out = fopen(statefile, "w");
usr.sbin/nsd/xfrd-disk.c
578
xfr = fopen(fname, mode);
usr.sbin/nsd/xfrd-disk.c
582
xfr = fopen(fname, mode);
usr.sbin/ntpd/ntpd.c
571
freqfp = fopen(DRIFTFILE, "w");
usr.sbin/ntpd/parse.y
793
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ospf6d/parse.y
979
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ospfd/parse.y
1168
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/pppd/auth.c
1179
if ((sf = fopen(atfile, "r")) == NULL) {
usr.sbin/pppd/auth.c
648
f = fopen(filename, "r");
usr.sbin/pppd/auth.c
794
f = fopen(filename, "r");
usr.sbin/pppd/auth.c
827
f = fopen(filename, "r");
usr.sbin/pppd/auth.c
858
f = fopen(filename, "r");
usr.sbin/pppd/auth.c
886
f = fopen(filename, "r");
usr.sbin/pppd/auth.c
923
f = fopen(filename, "r");
usr.sbin/pppd/chat/chat.c
259
report_fp = fopen (report_file, "a");
usr.sbin/pppd/chat/chat.c
342
cfp = fopen (chat_file, "r");
usr.sbin/pppd/options.c
563
if ((f = fopen(filename, "r")) == NULL) {
usr.sbin/pwd_mkdb/pwd_mkdb.c
173
if (!(fp = fopen(pname, "r")))
usr.sbin/rad/parse.y
858
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/radiusd/parse.y
866
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/rbootd/parseconf.c
86
if ((fp = fopen(ConfigFile, "r")) == NULL) {
usr.sbin/rbootd/rbootd.c
437
if ((DbgFp = fopen(DbgFile, "w")) == NULL)
usr.sbin/relayd/parse.y
2943
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/relayd/relayd.c
945
if ((fp = fopen(rulefile, "r")) == NULL)
usr.sbin/relayd/ssl.c
63
if ((fp = fopen(name, "r")) == NULL)
usr.sbin/repquota/repquota.c
182
if ((qf = fopen(qfpathname, "r")) == NULL) {
usr.sbin/ripd/parse.y
735
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/rmt/rmt.c
114
debug = fopen(*argv, "w");
usr.sbin/rpc.bootparamd/bootparamd.c
276
f = fopen(bootpfile, "r");
usr.sbin/rpki-client/main.c
907
if ((fp = fopen(slf, "r")) == NULL) {
usr.sbin/rpki-client/nca.c
284
if ((f = fopen(NCA_HISTORY, "r")) == NULL) {
usr.sbin/smtpd/aliases.c
203
fp = fopen(filename, "r");
usr.sbin/smtpd/crypto.c
368
fpin = fopen("/etc/passwd", "r");
usr.sbin/smtpd/crypto.c
369
fpout = fopen("/tmp/passwd.enc", "w");
usr.sbin/smtpd/crypto.c
383
fpin = fopen("/tmp/passwd.enc", "r");
usr.sbin/smtpd/crypto.c
384
fpout = fopen("/tmp/passwd.dec", "w");
usr.sbin/smtpd/enqueue.c
892
if ((fp = fopen(buffer, "w")) == NULL)
usr.sbin/smtpd/makemap.c
258
fp = fopen(filename, "r");
usr.sbin/smtpd/parse.y
3097
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/smtpd/queue_backend.c
222
ifp = fopen(msgpath, "r");
usr.sbin/smtpd/queue_backend.c
223
ofp = fopen(tmppath, "w+");
usr.sbin/smtpd/queue_backend.c
243
ifp = fopen(msgpath, "r");
usr.sbin/smtpd/queue_backend.c
244
ofp = fopen(tmppath, "w+");
usr.sbin/smtpd/queue_fs.c
249
fp = fopen(pathname, "r");
usr.sbin/smtpd/queue_ram.c
88
f = fopen(path, "rb");
usr.sbin/smtpd/smtpc.c
173
if ((authfile = fopen(optarg, "r")) == NULL)
usr.sbin/smtpd/smtpctl.c
1252
fp = fopen(pathname, "r");
usr.sbin/smtpd/smtpctl.c
1289
if ((fp = fopen(s, "r")) == NULL)
usr.sbin/smtpd/ssl.c
126
if ((fp = fopen(name, "r")) == NULL)
usr.sbin/smtpd/table_static.c
121
if ((fp = fopen(path, "r")) == NULL) {
usr.sbin/smtpd/util.c
742
if ((fp = fopen(MAILNAME_FILE, "r")) == NULL)
usr.sbin/snmpd/mib.y
1628
if ((file.stream = fopen(path, "r")) == NULL) {
usr.sbin/snmpd/parse.y
1653
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/syslogd/syslogd.c
753
fp = fopen(_PATH_LOGPID, "w");
usr.sbin/tcpdump/addrtoname.c
768
fp = fopen(PCAP_ETHERS_FILE, "r");
usr.sbin/unbound/daemon/remote.c
3717
if((f = fopen(secret_file, "w")) == NULL ) {
usr.sbin/unbound/iterator/iter_hints.c
323
FILE* f = fopen(fname, "r");
usr.sbin/unbound/libunbound/libunbound.c
1191
in = fopen(fname, "r");
usr.sbin/unbound/libunbound/libunbound.c
1265
in = fopen(fname, "r");
usr.sbin/unbound/services/authzone.c
1523
inc = fopen(incfile, "r");
usr.sbin/unbound/services/authzone.c
1592
in = fopen(zfilename, "r");
usr.sbin/unbound/services/authzone.c
1740
out = fopen(fname, "w");
usr.sbin/unbound/services/authzone.c
5231
out = fopen(fname, "w");
usr.sbin/unbound/smallapp/unbound-anchor.c
1859
return fopen(tempf, mode);
usr.sbin/unbound/smallapp/unbound-anchor.c
2041
FILE* in = fopen(file, "r");
usr.sbin/unbound/smallapp/unbound-anchor.c
2168
FILE* in = fopen(file, "r");
usr.sbin/unbound/smallapp/unbound-anchor.c
2190
FILE* in = fopen(file, "r");
usr.sbin/unbound/smallapp/unbound-anchor.c
398
in = fopen(file, "r");
usr.sbin/unbound/testcode/checklocks.c
706
thr->order_info = fopen(buf, "w");
usr.sbin/unbound/testcode/checklocks.c
712
thr->order_info = fopen(buf, "a");
usr.sbin/unbound/testcode/doqclient.c
1152
out = fopen(file, "w");
usr.sbin/unbound/testcode/doqclient.c
1197
out = fopen(data->transport_file, "w");
usr.sbin/unbound/testcode/doqclient.c
2160
in = fopen(data->transport_file, "r");
usr.sbin/unbound/testcode/doqclient.c
2191
in = fopen(data->transport_file, "r");
usr.sbin/unbound/testcode/fake_event.c
599
in = fopen(name, "r");
usr.sbin/unbound/testcode/fake_event.c
652
in = fopen(name, "r");
usr.sbin/unbound/testcode/lock_verify.c
263
FILE *in = fopen(file, "r");
usr.sbin/unbound/testcode/memstats.c
195
FILE* in = fopen(fname, "r");
usr.sbin/unbound/testcode/perf.c
546
FILE* in = fopen(fname, "r");
usr.sbin/unbound/testcode/petal.c
397
FILE* in = fopen(fname,
usr.sbin/unbound/testcode/petal.c
471
FILE* in = fopen(fname,
usr.sbin/unbound/testcode/readzone.c
110
else if (!(in = fopen(argv[0], "r")))
usr.sbin/unbound/testcode/signit.c
138
in = fopen(names[i], "r");
usr.sbin/unbound/testcode/testbound.c
175
spool = fopen(line, "w");
usr.sbin/unbound/testcode/testbound.c
222
spool = fopen(line, "w");
usr.sbin/unbound/testcode/testbound.c
253
cfg = fopen(configfile, "w");
usr.sbin/unbound/testcode/testbound.c
320
FILE *in = fopen(filename, "rb");
usr.sbin/unbound/testcode/testpkts.c
717
if((in=fopen(name, "r")) == NULL) {
usr.sbin/unbound/testcode/unitauth.c
631
out = fopen(fname, "w");
usr.sbin/unbound/testcode/unitauth.c
693
i1 = fopen(f1, "r");
usr.sbin/unbound/testcode/unitauth.c
695
i2 = fopen(f2, "r");
usr.sbin/unbound/testcode/unitldns.c
156
inf = fopen(input, "r");
usr.sbin/unbound/testcode/unitldns.c
158
chf = fopen(check, "r");
usr.sbin/unbound/testcode/unitldns.c
164
of = fopen("outputfile", "w");
usr.sbin/unbound/testcode/unitmsgparse.c
443
FILE* in = fopen(fname, "r");
usr.sbin/unbound/testcode/unitmsgparse.c
471
FILE* in = fopen(fname, "r");
usr.sbin/unbound/util/config_file.c
1579
in = fopen(fname, "r");
usr.sbin/unbound/util/config_file.c
2034
if ((range_fd = fopen(LINUX_IP_LOCAL_PORT_RANGE_PATH, "r")) != NULL) {
usr.sbin/unbound/util/edns.c
252
f = fopen(cookie_secret_file, "r");
usr.sbin/unbound/util/log.c
148
f = fopen(filename, "a");
usr.sbin/unbound/util/net_help.c
1843
f = fopen(fstr, "rb");
usr.sbin/unbound/validator/autotrust.c
1004
if (!(fd = fopen(nm, "r"))) {
usr.sbin/unbound/validator/autotrust.c
1214
out = fopen(tempf, "w");
usr.sbin/unbound/validator/val_anchor.c
436
FILE* in = fopen(fname, "r");
usr.sbin/unbound/validator/val_anchor.c
741
FILE* in = fopen(fname, "r");
usr.sbin/user/user.c
1326
if ((from = fopen(_PATH_GROUP, "r")) == NULL) {
usr.sbin/user/user.c
1420
if ((fp = fopen(file, "r")) == NULL) {
usr.sbin/user/user.c
413
if ((from = fopen(_PATH_GROUP, "r")) == NULL) {
usr.sbin/user/user.c
485
if ((from = fopen(_PATH_GROUP, "r")) == NULL) {
usr.sbin/user/user.c
610
if ((from = fopen(_PATH_GROUP, "r")) == NULL) {
usr.sbin/user/user.c
861
if ((fp = fopen(CONFFILE, "r")) == NULL) {
usr.sbin/user/user.c
865
fp = fopen(CONFFILE, "r");
usr.sbin/vmd/parse.y
1157
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ypbind/ypbind.c
168
ypdb->dom_servlistfp = fopen(ypdb->dom_servlist, "r");
usr.sbin/ypbind/ypbind.c
493
ypbindlist->dom_servlistfp = fopen(ypbindlist->dom_servlist, "r");
usr.sbin/ypbind/ypbind.c
780
fp = fopen(ypdb->dom_servlist, "r");
usr.sbin/ypldap/parse.y
876
if ((nfile->stream = fopen(nfile->name, "r")) == NULL) {
usr.sbin/ypserv/common/yplog.c
89
logfp = fopen("/var/yp/ypserv.log", "a");
usr.sbin/ypserv/makedbm/makedbm.c
175
data_file = fopen(infile, "r");
usr.sbin/ypserv/mknetid/mknetid.c
521
pfile = fopen(PasswdFile, "r");
usr.sbin/ypserv/mknetid/mknetid.c
523
pfile = fopen(MasterPasswdFile, "r");
usr.sbin/ypserv/mknetid/mknetid.c
527
gfile = fopen(GroupFile, "r");
usr.sbin/ypserv/mknetid/mknetid.c
531
hfile = fopen(HostFile, "r");
usr.sbin/ypserv/mknetid/mknetid.c
535
mfile = fopen(NetidFile, "r");
usr.sbin/ypserv/revnetgroup/revnetgroup.c
115
if ((fp = fopen(netgroup, "r")) == NULL) {
usr.sbin/ypserv/ypserv/acl.c
144
data_file = fopen(file, "r");
usr.sbin/ypserv/ypserv/acl.c
415
data_file = fopen(file, "r");
usr.sbin/zic/zic.c
1422
if ((fp = fopen(fullname, "wb")) == NULL) {
usr.sbin/zic/zic.c
1425
if ((fp = fopen(fullname, "wb")) == NULL)
usr.sbin/zic/zic.c
749
} else if ((fp = fopen(name, "r")) == NULL)