Home
last modified time | relevance | path

Searched refs:fdopen (Results 1 – 25 of 225) sorted by relevance

123456789

/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzutil.h135 # ifndef fdopen
136 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
156 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
161 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
167 # define fdopen(fd,type) _fdopen(fd,type) macro
/freebsd-12.1/sys/contrib/zlib/
H A Dzutil.h139 # ifndef fdopen
140 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
167 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
172 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
178 # define fdopen(fd,type) _fdopen(fd,type) macro
/freebsd-12.1/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_fopen.c65 f = fdopen(fd, "w+"); in ATF_TC_BODY()
92 ATF_REQUIRE_ERRNO(EINVAL, fdopen(fd, "w") == NULL); in ATF_TC_BODY()
95 ATF_REQUIRE_ERRNO(EINVAL, fdopen(fd, "a") == NULL); in ATF_TC_BODY()
100 ATF_REQUIRE_ERRNO(EBADF, fdopen(fd, "r") == NULL); in ATF_TC_BODY()
103 ATF_REQUIRE_ERRNO(EBADF, fdopen(-1, "w+") == NULL); in ATF_TC_BODY()
135 f = fdopen(fd, "r+"); in ATF_TC_BODY()
/freebsd-12.1/usr.bin/cmp/
H A Dspecial.c58 if ((fp1 = fdopen(fd1, "r")) == NULL) in c_special()
60 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
/freebsd-12.1/contrib/dialog/
H A Dprgbox.c79 result = fdopen(fd[0], type); in dlg_popen()
82 result = fdopen(fd[1], type); in dlg_popen()
/freebsd-12.1/bin/pax/
H A Dtty_subs.c74 if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) { in tty_init()
75 if ((ttyinf = fdopen(ttyfd, "r")) != NULL) in tty_init()
/freebsd-12.1/bin/sh/
H A Dhistedit.c108 el_in = fdopen(0, "r"); in histedit()
110 el_err = fdopen(1, "w"); in histedit()
112 el_out = fdopen(2, "w"); in histedit()
319 if ((efp = fdopen(fd, "w")) == NULL) { in histcmd()
/freebsd-12.1/crypto/heimdal/lib/roken/
H A Dsimple_exec.c218 *stdin_fd = fdopen(in_fd[1], "w"); in pipe_execv()
222 *stdout_fd = fdopen(out_fd[0], "r"); in pipe_execv()
226 *stderr_fd = fdopen(err_fd[0], "r"); in pipe_execv()
/freebsd-12.1/lib/libc/tests/stdio/
H A Dgets_s_test.c75 stdin = fdopen(nfd, "r"); in ATF_TC_BODY()
82 stdout = fdopen(fd[1], "w"); in ATF_TC_BODY()
/freebsd-12.1/contrib/opie/
H A Dpopen.c169 iop = fdopen(pipe_fd = pdes[0], type);
172 iop = fdopen(pipe_fd = pdes[1], type);
/freebsd-12.1/lib/libc/gen/
H A Dpopen.c103 iop = fdopen(pdes[0], type); in popen()
106 iop = fdopen(pdes[1], type); in popen()
/freebsd-12.1/libexec/ftpd/
H A Dpopen.c165 iop = fdopen(pdes[0], type); in ftpd_popen()
168 iop = fdopen(pdes[1], type); in ftpd_popen()
/freebsd-12.1/libexec/tftpd/
H A Dtftp-file.c183 file = fdopen(fd, "w"); in write_init()
223 file = fdopen(fd, "r"); in read_init()
/freebsd-12.1/crypto/heimdal/appl/ftp/ftpd/
H A Dpopen.c192 iop = fdopen(pdes[0], type); in ftpd_popen()
195 iop = fdopen(pdes[1], type); in ftpd_popen()
/freebsd-12.1/contrib/dma/
H A Dspool.c103 queue->mailf = fdopen(fd, "r+"); in newspoolf()
133 it->queuef = fdopen(queuefd, "w+"); in writequeuef()
365 it->queuef = fdopen(queuefd, "r+"); in acquirespool()
/freebsd-12.1/usr.sbin/cron/cron/
H A Dpopen.c206 iop = fdopen(pdes[0], type);
209 iop = fdopen(pdes[1], type);
/freebsd-12.1/contrib/blacklist/port/
H A Dpopenve.c160 iop = fdopen(pdes[0], type); in pdes_parent()
166 iop = fdopen(pdes[1], type); in pdes_parent()
/freebsd-12.1/usr.sbin/rpc.ypupdated/
H A Dupdate.c189 *fto = fdopen(pdto[1], "w"); in _openchild()
191 *ffrom = fdopen(pdfrom[0], "r"); in _openchild()
/freebsd-12.1/crypto/openssl/crypto/rand/
H A Drandfile.c35 # define fdopen _fdopen macro
205 out = fdopen(fd, "wb"); in RAND_write_file()
/freebsd-12.1/contrib/ofed/opensm/opensm/
H A Dosm_console_io.c132 FILE *file = fdopen(new_fd, "w+"); in cio_open()
154 p_oct->in = fdopen(p_oct->in_fd, "w+"); in cio_open()
/freebsd-12.1/usr.bin/newkey/
H A Dupdate.c185 *fto = fdopen(pdto[1], "w");
187 *ffrom = fdopen(pdfrom[0], "r");
/freebsd-12.1/contrib/nvi/ex/
H A Dex_filter.c92 if ((ofp = fdopen(output[0], "r")) == NULL) { in ex_filter()
232 if ((ifp = fdopen(input[1], "w")) == NULL) in ex_filter()
/freebsd-12.1/usr.bin/unifdef/
H A Dunifdef.h53 return (fdopen(fd, "wb")); in mktempmode()
/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfilingUtil.c170 f = fdopen(fd, "r+b"); in lprofOpenFileEx()
196 f = fdopen(fd, "r+b"); in lprofOpenFileEx()
/freebsd-12.1/usr.bin/gzip/
H A Dunpack.c187 if ((unpackd->fpIn = fdopen(in, "r")) == NULL) in unpack_parse_header()
189 if ((unpackd->fpOut = fdopen(out, "w")) == NULL) in unpack_parse_header()

123456789