/freebsd/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fopen.c | 65 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 D | prgbox.c | 80 result = fdopen(fd[0], type); in dlg_popen() 83 result = fdopen(fd[1], type); in dlg_popen()
|
/freebsd/contrib/libfido2/examples/ |
H A D | util.c | 186 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 D | tty_subs.c | 66 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 D | simple_exec.c | 218 *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 D | gets_s_test.c | 72 stdin = fdopen(nfd, "r"); in ATF_TC_BODY() 79 stdout = fdopen(fd[1], "w"); in ATF_TC_BODY()
|
H A D | eintr_test.c | 84 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 D | special.c | 58 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 D | popen.c | 97 iop = fdopen(pdes[0], type); in popen() 100 iop = fdopen(pdes[1], type); in popen()
|
/freebsd/libexec/tftpd/ |
H A D | tftp-file.c | 180 file = fdopen(fd, "w"); in write_init() 234 file = fdopen(fd, "r"); in read_init()
|
/freebsd/libexec/ftpd/ |
H A D | popen.c | 156 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 D | popen.c | 192 iop = fdopen(pdes[0], type); in ftpd_popen() 195 iop = fdopen(pdes[1], type); in ftpd_popen()
|
/freebsd/contrib/dma/ |
H A D | spool.c | 105 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 D | popenve.c | 160 iop = fdopen(pdes[0], type); in pdes_parent() 166 iop = fdopen(pdes[1], type); in pdes_parent()
|
/freebsd/usr.sbin/cron/cron/ |
H A D | popen.c | 194 iop = fdopen(pdes[0], type); in cron_popen() 197 iop = fdopen(pdes[1], type); in cron_popen()
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_filter.c | 89 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 D | osm_console_io.c | 132 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 D | update.c | 181 *fto = fdopen(pdto[1], "w"); in _openchild() 183 *ffrom = fdopen(pdfrom[0], "r"); in _openchild()
|
/freebsd/crypto/openssl/crypto/rand/ |
H A D | randfile.c | 44 # define fdopen _fdopen macro 214 out = fdopen(fd, "wb"); in RAND_write_file()
|
/freebsd/contrib/unifdef/ |
H A D | unifdef.h | 52 return (fdopen(fd, "wb")); in mktempmode()
|
/freebsd/usr.bin/gzip/ |
H A D | unpack.c | 181 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 D | histedit.c | 114 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 D | tmpfile.c | 80 if ((fp = fdopen(fd, "w+")) == NULL) { in tmpfile()
|
H A D | fdopen.c | 46 fdopen(int fd, const char *mode) in fdopen() function
|
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_initscr.c | 89 stdout = fdopen(STDOUT_FILENO, "w"); in NCURSES_EXPORT()
|