Symbol: fdopen
bin/cat/cat.c
262
fp = fdopen(fd, "r");
bin/ed/buf.c
201
(sfp = fdopen(fd, "w+")) == NULL) {
bin/pax/tty_subs.c
66
if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) {
bin/pax/tty_subs.c
67
if ((ttyinf = fdopen(ttyfd, "r")) != NULL)
bin/sh/histedit.c
116
if (fd == -1 || (f = fdopen(fd, "w")) == NULL) {
bin/sh/histedit.c
175
el_in = fdopen(0, "r");
bin/sh/histedit.c
177
el_out = fdopen(2, "w");
bin/sh/histedit.c
388
if ((efp = fdopen(fd, "w")) == NULL) {
crypto/heimdal/appl/ftp/ftp/ftp.c
126
cin = fdopen (s, "r");
crypto/heimdal/appl/ftp/ftp/ftp.c
127
cout = fdopen (s, "w");
crypto/heimdal/appl/ftp/ftp/ftp.c
1423
return (fdopen (data, lmode));
crypto/heimdal/appl/ftp/ftp/ftp.c
1436
return (fdopen (data, lmode));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1187
return (fdopen(data, mode));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1212
return (fdopen(s, mode));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1280
return (fdopen(pdata, mode));
crypto/heimdal/appl/ftp/ftpd/ftpd.c
1286
return (fdopen(data, mode));
crypto/heimdal/appl/ftp/ftpd/popen.c
192
iop = fdopen(pdes[0], type);
crypto/heimdal/appl/ftp/ftpd/popen.c
195
iop = fdopen(pdes[1], type);
crypto/heimdal/appl/rcp/rcp.c
688
if (fp == NULL && !(fp = fdopen(remout, "w")))
crypto/heimdal/lib/krb5/log.c
327
file = fdopen(i, "a");
crypto/heimdal/lib/roken/simple_exec.c
218
*stdin_fd = fdopen(in_fd[1], "w");
crypto/heimdal/lib/roken/simple_exec.c
222
*stdout_fd = fdopen(out_fd[0], "r");
crypto/heimdal/lib/roken/simple_exec.c
226
*stderr_fd = fdopen(err_fd[0], "r");
crypto/krb5/src/kadmin/dbutil/dump.c
146
f = fdopen(fd, "w+");
crypto/krb5/src/lib/kadm5/logger.c
316
f = fdopen(fd, append ? "a" : "w");
crypto/krb5/src/lib/kadm5/logger.c
434
fdopen(fileno(stderr), "w");
crypto/krb5/src/lib/krb5/ccache/cc_dir.c
195
fp = fdopen(fd, "w");
crypto/krb5/src/lib/krb5/ccache/cc_file.c
354
fp = fdopen(fd, writable ? "r+b" : "rb");
crypto/krb5/src/lib/krb5/os/prompter.c
66
fp = fdopen(fd, "r");
crypto/krb5/src/plugins/kdb/db2/adb_openclose.c
306
if ((db->lock->lockfile = fdopen(fd, "w+")) == NULL)
crypto/krb5/src/plugins/kdb/db2/libdb2/recno/rec_open.c
136
slow: if ((t->bt_rfp = fdopen(rfd, "rb")) == NULL)
crypto/krb5/src/util/ss/list_rqs.c
66
output = fdopen(fd, "w");
crypto/openssh/auth-rhosts.c
81
if ((f = fdopen(fd, "r")) == NULL) {
crypto/openssh/auth2-pubkeyfile.c
472
if ((f = fdopen(fd, "r")) == NULL) {
crypto/openssh/authfile.c
502
if ((f = fdopen(fd, "w")) == NULL) {
crypto/openssh/hostfile.c
635
if ((ctx.out = fdopen(fd, "w")) == NULL) {
crypto/openssh/misc.c
2908
else if ((f = fdopen(p[0], "r")) == NULL) {
crypto/openssh/moduli.c
466
if ((fp = fdopen(r, "w")) == NULL) {
crypto/openssh/scp.c
2133
if (fp != NULL || (remout != -1 && (fp = fdopen(remout, "w")))) {
crypto/openssh/ssh-keygen.c
1378
if ((ctx.out = fdopen(fd, "w")) == NULL) {
crypto/openssl/apps/lib/apps.c
3130
fp = fdopen(fd, modestr('w', format));
crypto/openssl/apps/speed.c
4983
if ((f = fdopen(fds[n], "r")) == NULL) {
crypto/openssl/crypto/rand/rand_egd.c
177
fp = fdopen(fd, "r+");
crypto/openssl/crypto/rand/randfile.c
216
out = fdopen(fd, "wb");
crypto/openssl/ssl/ssl_lib.c
3967
fp = fdopen(fdno, "a");
include/stdio.h
328
FILE *fdopen(int, const char *);
lib/libc/db/recno/rec_open.c
125
slow: if ((t->bt_rfp = fdopen(rfd, "r")) == NULL)
lib/libc/gen/popen.c
100
iop = fdopen(pdes[1], type);
lib/libc/gen/popen.c
97
iop = fdopen(pdes[0], type);
lib/libc/gen/pututxline.c
60
fp = fdopen(fd, "r+");
lib/libc/stdio/tmpfile.c
80
if ((fp = fdopen(fd, "w+")) == NULL) {
lib/libc/tests/stdio/eintr_test.c
106
ATF_REQUIRE((fp = fdopen(s[1], "r")) != NULL);
lib/libc/tests/stdio/eintr_test.c
84
ATF_REQUIRE((fp = fdopen(s[0], "w")) != NULL);
lib/libc/tests/stdio/fdopen_test.c
47
fp = fdopen(fd, strmode);
lib/libc/tests/stdio/gets_s_test.c
72
stdin = fdopen(nfd, "r");
lib/libc/tests/stdio/gets_s_test.c
79
stdout = fdopen(fd[1], "w");
lib/libcasper/services/cap_fileargs/cap_fileargs.c
361
return (fdopen(fd, mode));
lib/libfetch/common.c
1667
if ((f = fdopen(url->netrcfd, "r")) == NULL) {
lib/libpam/modules/pam_ssh/pam_ssh.c
311
if ((f = fdopen(agent_pipe[0], "r")) == NULL)
libexec/fingerd/fingerd.c
210
if (!(fp = fdopen(p[0], "r")))
libexec/flua/lfbsd/lfbsd.c
216
fp = fdopen(fd, mode);
libexec/tftpd/tftp-file.c
180
file = fdopen(fd, "w");
libexec/tftpd/tftp-file.c
234
file = fdopen(fd, "r");
libexec/tftpd/tftpd.c
787
file = fdopen(fd, mode == RRQ ? "r" : "w");
sbin/bsdlabel/bsdlabel.c
613
(fp = fdopen(fd, "w")) == NULL) {
sbin/camcontrol/modeedit.c
962
if ((edit_file = fdopen(fd, "w")) == NULL)
sbin/ipf/ipmon/ipmon.c
1428
fp = fdopen(fd, "w");
sbin/ipf/libipf/ipft_hx.c
39
tfp = fdopen(tfd, "r");
sbin/ipf/libipf/ipft_tx.c
95
tfp = fdopen(tfd, "r");
sbin/ipfw/main.c
632
if ((f = fdopen(pipedes[0], "r")) == NULL) {
sbin/ldconfig/elfhints.c
281
if ((fp = fdopen(fd, "wb")) == NULL)
sbin/mdmfs/mdmfs.c
483
sfd = fdopen(fd, "r");
sbin/reboot/reboot.c
155
fp = fdopen(tmpfd, "w");
sbin/restore/dirs.c
144
if (fd == -1 || (df = fdopen(fd, "w")) == NULL) {
sbin/restore/dirs.c
158
if (fd == -1 || (mf = fdopen(fd, "w")) == NULL) {
sbin/savecore/savecore.c
1174
core = fdopen(fdcore, "w");
sbin/savecore/savecore.c
152
fp = fdopen(fd, modestr);
sbin/swapon/swapon.c
492
sfd = fdopen(fd, "r");
sbin/swapon/swapon.c
553
sfd = fdopen(fd, "r");
sys/kern/kern_descrip.c
5655
.d_open = fdopen,
tests/sys/audit/utils.c
265
ATF_REQUIRE((pipestream = fdopen(fd[0].fd, "r")) != NULL);
tools/tools/indent_wrapper/indent_wrapper.c
300
iop[0] = fdopen(pdes[3], "w");
tools/tools/indent_wrapper/indent_wrapper.c
301
iop[1] = fdopen(pdes[0], "r");
usr.bin/at/at.c
312
if((fp = fdopen(fdes, "w")) == NULL)
usr.bin/bintrans/uudecode.c
299
(outfp = fdopen(fd, "w")) == NULL) {
usr.bin/calendar/io.c
136
if ((fp = fdopen(fd, "r")) == NULL)
usr.bin/calendar/io.c
676
return (fdopen(fd, "w+"));
usr.bin/cmp/special.c
58
if ((fp1 = fdopen(fd1, "r")) == NULL)
usr.bin/cmp/special.c
61
if ((fp2 = fdopen(fd2, "r")) == NULL)
usr.bin/diff/diffreg.c
552
return (fdopen(ofd, "r"));
usr.bin/diff3/diff3.c
260
f = fdopen(fd, "r");
usr.bin/dtc/dtc.cc
216
depfile = fdopen(open(optarg, O_CREAT | O_TRUNC | O_WRONLY, 0666), "w");
usr.bin/dtc/fdt.cc
1827
FILE *file = fdopen(fd, "w");
usr.bin/finger/lprint.c
325
if ((fp = fdopen(fd, "r")) == NULL)
usr.bin/finger/net.c
162
if ((fp = fdopen(s, "r")) != NULL) {
usr.bin/fortune/fortune/fortune.c
1065
if (fp->inf == NULL && (fp->inf = fdopen(fp->fd, "r")) == NULL) {
usr.bin/gzip/gzip.c
1533
out = fdopen(dup(zfd), "w");
usr.bin/gzip/unlz.c
325
lz->fin = fdopen(dup(fin), "r");
usr.bin/gzip/unlz.c
329
lz->fout = fdopen(dup(fdout), "w");
usr.bin/gzip/unpack.c
181
if ((unpackd->fpIn = fdopen(in, "r")) == NULL)
usr.bin/gzip/unpack.c
183
if ((unpackd->fpOut = fdopen(out, "w")) == NULL)
usr.bin/gzip/zuncompress.c
198
if ((zs->zs_fp = fdopen(fd, "r")) == NULL) {
usr.bin/ident/ident.c
274
fp = fdopen(fds[i], "r");
usr.bin/indent/indent.c
1260
input = fdopen(bakfd, "r");
usr.bin/m4/eval.c
836
(outfile[n] = fdopen(fd, "w+")) == NULL)
usr.bin/mail/lex.c
126
if ((fd = mkstemp(tempname)) == -1 || (otf = fdopen(fd, "w")) == NULL)
usr.bin/mail/popen.c
124
if ((fp = fdopen(myside, mode)) != NULL)
usr.bin/mail/popen.c
80
if ((fp = fdopen(fd, mode)) != NULL) {
usr.bin/msgs/msgs.c
782
if (fd == -1 || (cpto = fdopen(fd, "a")) == NULL) {
usr.bin/rpcgen/rpc_main.c
405
fin = fdopen(pd[0], "r");
usr.bin/rwall/rwall.c
127
if ((fd = mkstemp(tmpname)) == -1 || (fp = fdopen(fd, "r+")) == NULL)
usr.bin/sdiff/sdiff.c
401
if ((diffpipe = fdopen(fd[0], "r")) == NULL)
usr.bin/split/split.c
285
if ((infp = fdopen(ifd, "r")) == NULL)
usr.bin/talk/io.c
97
if ((sockfp = fdopen(sockt, "w+")) == NULL)
usr.bin/wall/wall.c
192
if ((fd = mkstemp(tmpname)) == -1 || !(fp = fdopen(fd, "r+")))
usr.bin/whois/whois.c
453
fp = fdopen(s, "r+");
usr.bin/write/write.c
292
stdout = fdopen(fd, "w");
usr.sbin/autofs/popen.c
134
cur->outfp = fdopen(outfds[0], "r");
usr.sbin/bhyve/acpi.c
319
bf->fp = fdopen(bf->fd, "w+");
usr.sbin/bhyve/snapshot.c
1257
meta_file = fdopen(fd_meta, "w");
usr.sbin/certctl/certctl.c
530
(f = fdopen(fd, "w")) == NULL ||
usr.sbin/certctl/certctl.c
598
if (fd < 0 || (f = fdopen(fd, "w")) == NULL) {
usr.sbin/config/main.cc
741
fp = fdopen(r, "r");
usr.sbin/cron/cron/do_command.c
553
FILE *out = fdopen(stdin_pipe[WRITE_PIPE], "w");
usr.sbin/cron/cron/do_command.c
618
FILE *in = fdopen(stdout_pipe[READ_PIPE], "r");
usr.sbin/cron/cron/popen.c
196
iop = fdopen(pdes[0], type);
usr.sbin/cron/cron/popen.c
199
iop = fdopen(pdes[1], type);
usr.sbin/cron/cron/user.c
60
if (!(file = fdopen(crontab_fd, "r"))) {
usr.sbin/cron/crontab/crontab.c
344
if (!(NewCrontab = fdopen(t, "r+"))) {
usr.sbin/crunch/crunchgen/crunchgen.c
730
if ((f = fdopen(fd, "w")) == NULL) {
usr.sbin/edquota/edquota.c
468
if ((fd = fdopen(dup(outfd), "w")) == NULL)
usr.sbin/edquota/edquota.c
682
if ((fd = fdopen(dup(outfd), "w")) == NULL)
usr.sbin/kldxref/kldxref.c
732
return (fdopen(fd, "w+"));
usr.sbin/lpr/common_source/ctlinfo.c
492
newcf = fdopen(newfd, "w");
usr.sbin/pkg/pkg.c
583
if ((fp = fdopen(my_fd, "rb")) == NULL) {
usr.sbin/pmcstudy/pmcstudy.c
128
io_out = fdopen(pdesin[1], "w");
usr.sbin/pmcstudy/pmcstudy.c
135
io_in = fdopen(pdesout[0], "r");
usr.sbin/ppp/prompt.c
343
p->Term = fdopen(fd, "a+");
usr.sbin/pw/pw.c
187
conf.metalog = fdopen(fd, "ae");
usr.sbin/pw/pw_conf.c
424
if ((fp = fdopen(fd, "w")) == NULL) {
usr.sbin/pw/pw_log.c
59
logfile = fdopen(fd, "a");
usr.sbin/pwd_mkdb/pwd_mkdb.c
301
if ((oldfp = fdopen(tfd, "w")) == NULL)
usr.sbin/rpc.ypupdated/update.c
181
*fto = fdopen(pdto[1], "w");
usr.sbin/rpc.ypupdated/update.c
183
*ffrom = fdopen(pdfrom[0], "r");
usr.sbin/traceroute/as.c
99
f = fdopen(s, "r+");
usr.sbin/uhsoctl/uhsoctl.c
512
fp = fdopen(fd, "w");
usr.sbin/virtual_oss/virtual_oss/httpd.c
469
io = fdopen(fd, "r+");