Home
last modified time | relevance | path

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

12345678

/freebsd-13.1/sys/contrib/zlib/
H A Dzutil.h146 # ifndef fdopen
147 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
174 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
179 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
181 # define fdopen(fd,type) _fdopen(fd,type) macro
/freebsd-13.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-13.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-13.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-13.1/usr.bin/cmp/
H A Dspecial.c66 if ((fp1 = fdopen(fd1, "r")) == NULL) in c_special()
68 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
/freebsd-13.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()
H A Deintr_test.c84 ATF_REQUIRE((fp = fdopen(s[0], "w")) != NULL); in ATF_TC_BODY()
106 ATF_REQUIRE((fp = fdopen(s[1], "r")) != NULL); in ATF_TC_BODY()
/freebsd-13.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-13.1/contrib/opie/
H A Dpopen.c169 iop = fdopen(pipe_fd = pdes[0], type);
172 iop = fdopen(pipe_fd = pdes[1], type);
/freebsd-13.1/lib/libc/gen/
H A Dpopen.c103 iop = fdopen(pdes[0], type); in popen()
106 iop = fdopen(pdes[1], type); in popen()
/freebsd-13.1/libexec/tftpd/
H A Dtftp-file.c183 file = fdopen(fd, "w"); in write_init()
237 file = fdopen(fd, "r"); in read_init()
/freebsd-13.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-13.1/contrib/libfido2/examples/
H A Dutil.c212 if ((fp = fdopen(fd, "w")) == NULL) { in write_ec_pubkey()
301 if ((fp = fdopen(fd, "w")) == NULL) { in write_rsa_pubkey()
382 if ((fp = fdopen(fd, "w")) == NULL) { in write_eddsa_pubkey()
/freebsd-13.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-13.1/contrib/dma/
H A Dspool.c105 queue->mailf = fdopen(fd, "r+"); in newspoolf()
135 it->queuef = fdopen(queuefd, "w+"); in writequeuef()
367 it->queuef = fdopen(queuefd, "r+"); in acquirespool()
/freebsd-13.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-13.1/usr.sbin/cron/cron/
H A Dpopen.c207 iop = fdopen(pdes[0], type);
210 iop = fdopen(pdes[1], type);
/freebsd-13.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-13.1/crypto/openssl/crypto/rand/
H A Drandfile.c35 # define fdopen _fdopen macro
205 out = fdopen(fd, "wb"); in RAND_write_file()
/freebsd-13.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-13.1/contrib/nvi/ex/
H A Dex_filter.c89 if ((ofp = fdopen(output[0], "r")) == NULL) { in ex_filter()
230 if ((ifp = fdopen(input[1], "w")) == NULL) in ex_filter()
/freebsd-13.1/usr.bin/newkey/
H A Dupdate.c185 *fto = fdopen(pdto[1], "w");
187 *ffrom = fdopen(pdfrom[0], "r");
/freebsd-13.1/usr.bin/gzip/
H A Dunpack.c184 if ((unpackd->fpIn = fdopen(in, "r")) == NULL) in unpack_parse_header()
186 if ((unpackd->fpOut = fdopen(out, "w")) == NULL) in unpack_parse_header()
/freebsd-13.1/lib/libc/stdio/
H A Dtmpfile.c88 if ((fp = fdopen(fd, "w+")) == NULL) { in tmpfile()
/freebsd-13.1/contrib/ncurses/ncurses/base/
H A Dlib_initscr.c90 stdout = fdopen(STDOUT_FILENO, "w"); in NCURSES_EXPORT()

12345678