Symbol: fdopen
bin/cat/cat.c
150
fp = fdopen(fd, "r");
bin/ed/buf.c
201
(sfp = fdopen(fd, "w+")) == NULL) {
bin/pax/tty_subs.c
69
if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) {
bin/pax/tty_subs.c
70
if ((ttyinf = fdopen(ttyfd, "r")) != NULL)
bin/sh/histedit.c
108
el_in = fdopen(0, "r");
bin/sh/histedit.c
110
el_out = fdopen(2, "w");
bin/sh/histedit.c
317
if ((efp = fdopen(fd, "w")) == NULL) {
crypto/libressl/apps/openssl/speed.c
2085
f = fdopen(fds[n], "r");
crypto/libressl/tls/tls_util.c
184
if ((fp = fdopen(fd, "r")) == NULL)
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
504
if ((f = fdopen(fd, "w")) == NULL) {
crypto/openssh/hostfile.c
635
if ((ctx.out = fdopen(fd, "w")) == NULL) {
crypto/openssh/misc.c
2884
else if ((f = fdopen(p[0], "r")) == NULL) {
crypto/openssh/moduli.c
466
if ((fp = fdopen(r, "w")) == NULL) {
crypto/openssh/scp.c
2132
if (fp != NULL || (remout != -1 && (fp = fdopen(remout, "w")))) {
crypto/openssh/ssh-keygen.c
1350
if ((ctx.out = fdopen(fd, "w")) == NULL) {
games/atc/log.c
127
score_fp = fdopen(score_fd, "r+");
games/fortune/fortune/fortune.c
1070
if (fp->inf == NULL && (fp->inf = fdopen(fp->fd, "r")) == NULL) {
games/hunt/huntd/answer.c
224
conn = fdopen(sp->fd, "w");
games/hunt/huntd/driver.c
1026
fp = fdopen(s, "w");
games/hunt/huntd/driver.c
1096
fp = fdopen(tty, "w");
games/tetris/scores.c
127
if ((sf = fdopen(sd, mstr)) == NULL)
include/stdio.h
291
FILE *fdopen(int, const char *);
lib/libc/db/recno/rec_open.c
126
slow: if ((t->bt_rfp = fdopen(rfd, "r")) == NULL)
lib/libc/gen/popen.c
151
iop = fdopen(pdes[0], type);
lib/libc/gen/popen.c
154
iop = fdopen(pdes[1], type);
lib/libc/stdio/tmpfile.c
83
if ((fp = fdopen(fd, "w+")) == NULL) {
lib/libfetch/common.c
1702
if ((f = fdopen(url->netrcfd, "r")) == NULL) {
lib/libftpio/ftpio.c
1055
*fp = fdopen(fd, mode);
lib/libftpio/ftpio.c
946
*fp = fdopen(s, mode);
libexec/dma/spool.c
105
queue->mailf = fdopen(fd, "r+");
libexec/dma/spool.c
135
it->queuef = fdopen(queuefd, "w+");
libexec/dma/spool.c
367
it->queuef = fdopen(queuefd, "r+");
libexec/fingerd/fingerd.c
186
if (!(fp = fdopen(p[0], "r")))
libexec/ftpd/ftpd.c
1737
fout = fdopen(fd, mode);
libexec/ftpd/ftpd.c
1803
return (fdopen(data, mode));
libexec/ftpd/ftpd.c
1849
return (fdopen(s, mode));
libexec/ftpd/ftpd.c
1917
return (fdopen(pdata, mode));
libexec/ftpd/ftpd.c
1928
return (fdopen(data, mode));
libexec/ftpd/popen.c
155
iop = fdopen(pdes[0], type);
libexec/ftpd/popen.c
158
iop = fdopen(pdes[1], type);
libexec/tftpd/tftpd.c
557
file = fdopen(fd, (mode == RRQ)? "r":"w");
sbin/camcontrol/modeedit.c
736
if ((edit_file = fdopen(fd, "w")) == NULL)
sbin/disklabel32/disklabel.c
706
(fp = fdopen(fd, "w")) == NULL) {
sbin/disklabel64/disklabel64.c
756
(fp = fdopen(fd, "w")) == NULL) {
sbin/ip6fw/ip6fw.c
1351
if ((f = fdopen(pipedes[0], "r")) == NULL) {
sbin/ipfw/ipfw2.c
4224
if ((f = fdopen(pipedes[0], "r")) == NULL) {
sbin/ipfw3/ipfw3.c
1174
if ((f = fdopen(pipedes[0], "r")) == NULL) {
sbin/ldconfig/elfhints.c
267
if ((fp = fdopen(fd, "wb")) == NULL)
sbin/rconfig/server.c
151
fi = fdopen(fd, "r");
sbin/rconfig/server.c
152
fo = fdopen(dup(fd), "w");
sbin/rconfig/subs.c
181
*pfi = fdopen(fd, "r");
sbin/rconfig/subs.c
182
*pfo = fdopen(dup(fd), "w");
sbin/restore/dirs.c
150
if (fd == -1 || (df = fdopen(fd, "w")) == NULL) {
sbin/restore/dirs.c
163
if (fd == -1 || (mfg = fdopen(fd, "w")) == NULL) {
sbin/savecore/savecore.c
446
info = fdopen(fdinfo, "w");
sbin/startslip/startslip.c
343
wfd = fdopen(fd, "w+");
sbin/svc/execute.c
216
cmd->fp = fdopen(cmd->logfds[1], "w");
sbin/svc/remote.c
117
conn->fpr = fdopen(conn->fd, "r");
sbin/svc/remote.c
118
conn->fpw = fdopen(dup(conn->fd), "w");
sbin/svc/remote.c
266
conn->fpr = fdopen(conn->fd, "r");
sbin/svc/remote.c
267
conn->fpw = fdopen(dup(conn->fd), "w");
sys/kern/kern_descrip.c
118
static d_open_t fdopen;
sys/kern/kern_descrip.c
124
.d_open = fdopen,
test/stress/webstress/webstress.c
350
if ((fp = fdopen(fd, "r+")) == NULL) {
tools/tools/netrate/netperf/tcp_cc/tcp_cc.c
126
fp = fdopen(instance[i].pipes[0], "r");
tools/tools/netrate/netperf/tcp_stream/tcp_stream.c
254
fp = fdopen(instance[i].pipes[0], "r");
usr.bin/at/at.c
311
if((fp = fdopen(fdes, "w")) == NULL)
usr.bin/calendar/io.c
685
fpipe = fdopen(pdes[1], "w");
usr.bin/cmp/special.c
53
if ((fp1 = fdopen(fd1, "r")) == NULL)
usr.bin/cmp/special.c
55
if ((fp2 = fdopen(fd2, "r")) == NULL)
usr.bin/crunch/crunchgen/crunchgen.c
745
if ((f = fdopen(fd, "w")) == NULL) {
usr.bin/diff/diffreg.c
477
return (fdopen(ofd, "r"));
usr.bin/dsynth/build.c
2835
fp = fdopen(fdlog, "a");
usr.bin/dsynth/repo.c
96
fp = fdopen(fd, "w");
usr.bin/dsynth/subs.c
589
fp = fdopen(fds[0], "r");
usr.bin/finger/lprint.c
325
if ((fp = fdopen(fd, "r")) == NULL)
usr.bin/finger/net.c
166
if ((fp = fdopen(s, "r")) != NULL) {
usr.bin/gzip/gzip.c
1429
out = fdopen(dup(zfd), "w");
usr.bin/gzip/unpack.c
179
if ((unpackd->fpIn = fdopen(in, "r")) == NULL)
usr.bin/gzip/unpack.c
181
if ((unpackd->fpOut = fdopen(out, "w")) == NULL)
usr.bin/gzip/zuncompress.c
197
if ((zs->zs_fp = fdopen(fd, "r")) == NULL) {
usr.bin/m4/eval.c
823
(outfile[n] = fdopen(fd, "w+")) == NULL)
usr.bin/mail/lex.c
127
if ((fd = mkstemp(tempname)) == -1 || (otf = fdopen(fd, "w")) == NULL)
usr.bin/mail/popen.c
122
if ((fp = fdopen(myside, mode)) != NULL)
usr.bin/mail/popen.c
79
if ((fp = fdopen(fd, mode)) != NULL) {
usr.bin/msgs/msgs.c
772
if (fd == -1 || (cpto = fdopen(fd, "a")) == NULL) {
usr.bin/newkey/update.c
188
*fto = fdopen(pdto[1], "w");
usr.bin/newkey/update.c
190
*ffrom = fdopen(pdfrom[0], "r");
usr.bin/rpcgen/rpc_main.c
320
fin = fdopen(pd[0], "r");
usr.bin/rwall/rwall.c
138
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
236
if ((infp = fdopen(ifd, "r")) == NULL)
usr.bin/tftp/tftp.c
103
file = fdopen(fd, "r");
usr.bin/tftp/tftp.c
219
file = fdopen(fd, "w");
usr.bin/tip/cmds.c
164
if ((ff = fdopen (fd, "w")) == NULL) {
usr.bin/tip/cmds.c
249
if ((ff = fdopen (fd, "w")) == NULL) {
usr.bin/unifdef/unifdef.h
49
return (fdopen(fd, "wb"));
usr.bin/uudecode/uudecode.c
285
(outfp = fdopen(fd, "w")) == NULL) {
usr.bin/wall/wall.c
180
if ((fd = mkstemp(tmpname)) == -1 || !(fp = fdopen(fd, "r+")))
usr.bin/whois/whois.c
279
sfi = fdopen(s, "r");
usr.bin/whois/whois.c
280
sfo = fdopen(s, "w");
usr.sbin/authpf/authpf.c
204
(pidfp = fdopen(pidfd, "r+")) == NULL) {
usr.sbin/autofs/popen.c
134
cur->outfp = fdopen(outfds[0], "r");
usr.sbin/cron/cron/do_command.c
343
out = fdopen(stdin_pipe[WRITE_PIPE], "w");
usr.sbin/cron/cron/do_command.c
409
in = fdopen(stdout_pipe[READ_PIPE], "r");
usr.sbin/cron/cron/popen.c
192
iop = fdopen(pdes[0], type);
usr.sbin/cron/cron/popen.c
195
iop = fdopen(pdes[1], type);
usr.sbin/cron/cron/user.c
58
if (!(file = fdopen(crontab_fd, "r"))) {
usr.sbin/cron/crontab/crontab.c
334
if (!(NewCrontab = fdopen(t, "r+"))) {
usr.sbin/cron/lib/misc.c
244
|| (NULL == (fp = fdopen(fd, "r+")))
usr.sbin/edquota/edquota.c
475
if ((fd = fdopen(dup(outfd), "w")) == NULL)
usr.sbin/edquota/edquota.c
613
if ((fd = fdopen(dup(outfd), "w")) == NULL)
usr.sbin/installer/libaura/popen.c
160
iop = fdopen(pdes[0], type);
usr.sbin/installer/libaura/popen.c
163
iop = fdopen(pdes[1], type);
usr.sbin/installer/libdfui/conn_tcp.c
269
T_TCP(c)->stream = fdopen(T_TCP(c)->connected_sd, "r+");
usr.sbin/installer/libdfui/conn_tcp.c
357
T_TCP(c)->stream = fdopen(T_TCP(c)->connected_sd, "r+");
usr.sbin/lpr/common_source/ctlinfo.c
454
newcf = fdopen(newfd, "w");
usr.sbin/pflogd/pflogd.c
318
fp = fdopen(fd, "a+");
usr.sbin/ppp/prompt.c
341
p->Term = fdopen(fd, "a+");
usr.sbin/pw/edgroup.c
71
if ((infp = fdopen(infd, "r+")) == NULL)
usr.sbin/pw/edgroup.c
79
if ((outfp = fdopen(outfd, "w+")) == NULL)
usr.sbin/pw/fileupd.c
81
FILE *infp = fdopen(infd, "r+");
usr.sbin/pw/fileupd.c
96
FILE *outfp = fdopen(outfd, "w+");
usr.sbin/pw/pw_conf.c
386
if ((fp = fdopen(fd, "w")) == NULL)
usr.sbin/pw/pw_log.c
43
logfile = fdopen(fd, "a");
usr.sbin/pwd_mkdb/pwd_mkdb.c
303
if ((oldfp = fdopen(tfd, "w")) == NULL)
usr.sbin/rpc.ypupdated/update.c
184
*fto = fdopen(pdto[1], "w");
usr.sbin/rpc.ypupdated/update.c
186
*ffrom = fdopen(pdfrom[0], "r");