Home
last modified time | relevance | path

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

12345678

/freebsd/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/contrib/dialog/
H A Dprgbox.c80 result = fdopen(fd[0], type); in dlg_popen()
83 result = fdopen(fd[1], type); in dlg_popen()
/freebsd/contrib/libfido2/examples/
H A Dutil.c186 if ((fp = fdopen(fd, "w")) == NULL) { in write_es256_pubkey()
243 if ((fp = fdopen(fd, "w")) == NULL) { in write_es384_pubkey()
332 if ((fp = fdopen(fd, "w")) == NULL) { in write_rs256_pubkey()
413 if ((fp = fdopen(fd, "w")) == NULL) { in write_eddsa_pubkey()
/freebsd/bin/pax/
H A Dtty_subs.c66 if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) { in tty_init()
67 if ((ttyinf = fdopen(ttyfd, "r")) != NULL) in tty_init()
/freebsd/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/lib/libc/tests/stdio/
H A Dgets_s_test.c72 stdin = fdopen(nfd, "r"); in ATF_TC_BODY()
79 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/usr.bin/cmp/
H A Dspecial.c58 if ((fp1 = fdopen(fd1, "r")) == NULL) in c_special()
61 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
/freebsd/lib/libc/gen/
H A Dpopen.c97 iop = fdopen(pdes[0], type); in popen()
100 iop = fdopen(pdes[1], type); in popen()
/freebsd/libexec/tftpd/
H A Dtftp-file.c180 file = fdopen(fd, "w"); in write_init()
234 file = fdopen(fd, "r"); in read_init()
/freebsd/libexec/ftpd/
H A Dpopen.c156 iop = fdopen(pdes[0], type); in ftpd_popen()
159 iop = fdopen(pdes[1], type); in ftpd_popen()
/freebsd/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/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/contrib/blocklist/port/
H A Dpopenve.c160 iop = fdopen(pdes[0], type); in pdes_parent()
166 iop = fdopen(pdes[1], type); in pdes_parent()
/freebsd/usr.sbin/cron/cron/
H A Dpopen.c194 iop = fdopen(pdes[0], type); in cron_popen()
197 iop = fdopen(pdes[1], type); in cron_popen()
/freebsd/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/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/usr.sbin/rpc.ypupdated/
H A Dupdate.c181 *fto = fdopen(pdto[1], "w"); in _openchild()
183 *ffrom = fdopen(pdfrom[0], "r"); in _openchild()
/freebsd/crypto/openssl/crypto/rand/
H A Drandfile.c44 # define fdopen _fdopen macro
214 out = fdopen(fd, "wb"); in RAND_write_file()
/freebsd/contrib/unifdef/
H A Dunifdef.h52 return (fdopen(fd, "wb")); in mktempmode()
/freebsd/usr.bin/gzip/
H A Dunpack.c181 if ((unpackd->fpIn = fdopen(in, "r")) == NULL) in unpack_parse_header()
183 if ((unpackd->fpOut = fdopen(out, "w")) == NULL) in unpack_parse_header()
/freebsd/bin/sh/
H A Dhistedit.c114 if (fd == -1 || (f = fdopen(fd, "w")) == NULL) { in histsave()
173 el_in = fdopen(0, "r"); in histedit()
175 el_out = fdopen(2, "w"); in histedit()
386 if ((efp = fdopen(fd, "w")) == NULL) { in histcmd()
/freebsd/lib/libc/stdio/
H A Dtmpfile.c80 if ((fp = fdopen(fd, "w+")) == NULL) { in tmpfile()
H A Dfdopen.c46 fdopen(int fd, const char *mode) in fdopen() function
/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_initscr.c89 stdout = fdopen(STDOUT_FILENO, "w"); in NCURSES_EXPORT()

12345678