Searched refs:fdopen (Results 1 - 25 of 249) sorted by relevance

12345678910

/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/
H A Dfdopen2.c1 /* Check that the syscalls implementing fdopen work trivially.
29 f = fdopen (1, "w");
32 perr ("fdopen or fwrite");
39 f = fdopen (0, "r");
H A Dfdopen1.c1 /* Check that the syscalls implementing fdopen work trivially. */
30 f = fdopen (fd, "w");
33 perr ("fdopen or fwrite");
42 f = fdopen (fd, "r");
/netbsd-6-1-5-RELEASE/sys/arch/bebox/stand/boot/
H A Dconf.c38 extern int fdopen(struct open_file *, ...);
54 { "fd", fdstrategy, fdopen, fdclose, noioctl },
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/
H A D2.cc43 FILE* first_file = ::fdopen(first_fd, "r");
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/libsa/
H A Dlibx68k.h63 int fdopen(struct open_file *, ...);
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/obio/
H A Di82072.c48 dev_type_open(fdopen); variable
52 fdopen, nullclose, fdstrategy, noioctl, nodump, nosize, D_DISK
56 fdopen, nullclose, noread, nowrite, noioctl,
121 fdopen(dev_t dev, int flags, int mode, struct lwp *l) function
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/27_io/basic_filebuf/open/char/
H A D2.cc42 FILE* first_file = ::fdopen(first_fd, "r");
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-shell/
H A Dfork.c105 if ( (*rfp = fdopen( c2p[0], "r" )) == NULL || (*wfp = fdopen( p2c[1],
107 Debug( LDAP_DEBUG_ANY, "fdopen failed\n", 0, 0, 0 );
/netbsd-6-1-5-RELEASE/lib/libc/stdio/
H A Dfdopen.c1 /* $NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $ */
38 static char sccsid[] = "@(#)fdopen.c 8.1 (Berkeley) 6/4/93";
40 __RCSID("$NetBSD: fdopen.c,v 1.14 2003/08/07 16:43:22 agc Exp $");
58 __weak_alias(fdopen,_fdopen)
62 fdopen(fd, mode)
H A Dtmpfile.c78 if ((fp = fdopen(fd, "w+")) == NULL) {
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/back-sock/
H A Dopensock.c66 if ( ( fp = fdopen( fd, "r+" ) ) == NULL ) {
67 Debug( LDAP_DEBUG_ANY, "fdopen failed\n", 0, 0, 0 );
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/libiberty/
H A Dfopen_unlocked.c50 Opens and returns a @code{FILE} pointer via @code{fdopen}. If the
115 FILE *const fp = fdopen (fildes, mode);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libiberty/
H A Dfopen_unlocked.c50 Opens and returns a @code{FILE} pointer via @code{fdopen}. If the
115 FILE *const fp = fdopen (fildes, mode);
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libiberty/
H A Dfopen_unlocked.c50 Opens and returns a @code{FILE} pointer via @code{fdopen}. If the
115 FILE *const fp = fdopen (fildes, mode);
/netbsd-6-1-5-RELEASE/sys/arch/x68k/stand/boot/
H A Dconf.c41 { "fd", fdstrategy, fdopen, fdclose, noioctl },
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/libiberty/
H A Dfopen_unlocked.c52 Opens and returns a @code{FILE} pointer via @code{fdopen}. If the
118 FILE *const fp = fdopen (fildes, mode);
/netbsd-6-1-5-RELEASE/usr.bin/sort/
H A Dtmp.c99 if (!(fp = fdopen(fd, "w+")))
100 err(2, "ftmp: fdopen(\"%s\")", path);
/netbsd-6-1-5-RELEASE/bin/pax/
H A Dtty_subs.c84 if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) {
85 if ((ttyinf = fdopen(ttyfd, "r")) != NULL)
/netbsd-6-1-5-RELEASE/usr.bin/cmp/
H A Dspecial.c58 if ((fp1 = fdopen(fd1, "r")) == NULL)
60 if ((fp2 = fdopen(fd2, "r")) == NULL)
/netbsd-6-1-5-RELEASE/common/dist/zlib/
H A Dzutil.h137 # include <unix.h> /* for fdopen */
139 # ifndef fdopen
140 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
160 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
165 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
171 # define fdopen(fd,type) _fdopen(fd,type) macro
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/zmod/
H A Dzutil.h133 # include <unix.h> /* for fdopen */
135 # 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
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/zlib/
H A Dzutil.h128 # include <unix.h> /* for fdopen */
130 # ifndef fdopen
131 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
151 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
156 # define fdopen(fd,mode) NULL /* No fdopen() */ macro
162 # define fdopen(fd,type) _fdopen(fd,type) macro
/netbsd-6-1-5-RELEASE/tests/lib/libc/stdio/
H A Dt_fopen.c58 * used to fdopen(3) a stream is
65 f = fdopen(fd, "w+");
81 atf_tc_set_md_var(tc, "descr", "Test errors from fdopen(3)");
92 ATF_REQUIRE_ERRNO(EINVAL, fdopen(fd, "w") == NULL);
95 ATF_REQUIRE_ERRNO(EINVAL, fdopen(fd, "a") == NULL);
100 ATF_REQUIRE_ERRNO(EBADF, fdopen(fd, "r") == NULL);
103 ATF_REQUIRE_ERRNO(EBADF, fdopen(-1, "w+") == NULL);
116 atf_tc_set_md_var(tc, "descr", "Test stream position with fdopen(3)");
135 f = fdopen(fd, "r+");
/netbsd-6-1-5-RELEASE/external/bsd/cron/dist/
H A Dpopen.c148 /* parent; assume fdopen can't fail... */
150 iop = fdopen(pdes[0], type);
153 iop = fdopen(pdes[1], type);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/fixincludes/
H A Dprocopen.c204 * "fdopen(3)"-ed into file pointers instead.
215 pf_pair->pf_read = fdopen (fd_pair.read_fd, "r");
216 pf_pair->pf_write = fdopen (fd_pair.write_fd, "w");

Completed in 158 milliseconds

12345678910