Home
last modified time | relevance | path

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

12345678910>>...12

/openbsd-src/gnu/usr.bin/perl/dist/IO/t/
H A Dio_dup.t24 my $dupout = IO::Handle->new->fdopen( \*STDOUT ,"w");
25 my $duperr = IO::Handle->new->fdopen( \*STDERR ,"w");
31 $stderr->fdopen($stdout,"w");
49 $stdout->fdopen($dupout,"w");
50 $stderr->fdopen($duperr,"w");
H A Dio_pipe.t82 $stdin->fdopen($pipe,"r");
111 $stdout->fdopen($pipe,"w");
/openbsd-src/gnu/usr.bin/perl/dist/IO/lib/IO/
H A DPipe.pm69 $io->fdopen($fh, $mode);
76 $io->fdopen($save, $mode);
107 $me->fdopen($fh->fileno,"r")
131 $me->fdopen($fh->fileno,"w")
H A DHandle.pm12 if ($io->fdopen(fileno(STDIN),"r")) {
18 if ($io->fdopen(fileno(STDOUT),"w")) {
52 It requires two parameters, which are passed to the method C<fdopen>;
53 if the fdopen fails, the object is destroyed. Otherwise, it is returned
108 =item $io->fdopen ( FD, MODE )
110 C<fdopen> is like an ordinary C<open> except that its first parameter
342 IO::Handle::fdopen($io, @_)
370 sub fdopen {
371 @_ == 3 or croak 'usage: $io->fdopen(FD, MODE)';
362 sub fdopen { global() subroutine
/openbsd-src/gnu/usr.bin/cvs/vms/
H A Dpc.c32 in = fdopen(fromfd, "r");
33 out = fdopen(tofd, "w");
36 out = fdopen(tofd, "w");
/openbsd-src/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/
H A Dzutil.h151 # define fdopen(fd,mode) NULL /* No fdopen( global() macro
178 # define fdopen(fd,mode) NULL /* No fdopen( global() macro
183 # define fdopen(fd,mode) NULL /* No fdopen( global() macro
185 # define fdopen(fd,type) _fdopen( global() macro
/openbsd-src/lib/libc/stdio/
H A Dfdopen.c43 fdopen(int fd, const char *mode) in fdopen() function
92 DEF_WEAK(fdopen);
H A Dtmpfile.c62 if ((fp = fdopen(fd, "w+")) == NULL) { in tmpfile()
/openbsd-src/usr.bin/cmp/
H A Dspecial.c50 if ((fp1 = fdopen(fd1, "r")) == NULL) in c_special()
52 if ((fp2 = fdopen(fd2, "r")) == NULL) in c_special()
/openbsd-src/usr.bin/vi/ex/
H A Dex_filter.c94 if ((ifp = fdopen(fd, "w")) == NULL) { in ex_filter()
124 if ((ofp = fdopen(output[0], "r")) == NULL) { in ex_filter()
257 if ((ifp = fdopen(input[1], "w")) == NULL) in ex_filter()
/openbsd-src/gnu/usr.bin/perl/cpan/Archive-Tar/bin/
H A Dptar57 $file->fdopen(fileno(STDOUT),"w");
72 $file->fdopen(fileno(STDIN),"r");
/openbsd-src/bin/pax/
H A Dtty_subs.c68 if ((ttyoutf = fdopen(ttyfd, "w")) != NULL) { in tty_init()
69 if ((ttyinf = fdopen(ttyfd, "r")) != NULL) in tty_init()
/openbsd-src/usr.sbin/cron/
H A Dpopen.c124 iop = fdopen(pdes[0], type); in cron_popen()
127 iop = fdopen(pdes[1], type); in cron_popen()
/openbsd-src/gnu/gcc/fixincludes/
H A Dprocopen.c215 pf_pair->pf_read = fdopen (fd_pair.read_fd, "r"); in proc2_fopen()
216 pf_pair->pf_write = fdopen (fd_pair.write_fd, "w"); in proc2_fopen()
/openbsd-src/gnu/usr.bin/gcc/gcc/fixinc/
H A Dprocopen.c225 pf_pair->pf_read = fdopen (fd_pair.read_fd, "r");
226 pf_pair->pf_write = fdopen (fd_pair.write_fd, "w");
/openbsd-src/libexec/rpc.rusersd/
H A Drusers_proc.c115 ufp = fdopen(fd, "r"); in rusers_num_svc()
147 ufp = fdopen(fd, "r"); in do_names_3()
211 ufp = fdopen(fd, "r"); in do_names_2()
275 ufp = fdopen(fd, "r"); in do_names_1()
/openbsd-src/usr.sbin/lpr/common_source/
H A Drmjob.c170 if (fd < 0 || (fp = fdopen(fd, "r")) == NULL) { in lockchk()
213 if (fd < 0 || (cfp = fdopen(fd, "r")) == NULL) { in process()
268 if (fd < 0 || (cfp = fdopen(fd, "r")) == NULL) { in chk()
/openbsd-src/usr.bin/cvs/
H A Dlogmsg.c59 if ((fp = fdopen(fd, "r")) == NULL) in cvs_logmsg_read()
120 if ((fp = fdopen(fd, "w")) == NULL) { in cvs_logmsg_create()
143 if ((rp = fdopen(rd, "r")) == NULL) in cvs_logmsg_create()
/openbsd-src/gnu/usr.bin/perl/
H A Dnostdio.h34 # undef fdopen
114 # define fdopen(fd,p) _CANNOT _fdopen_ macro
H A Dfakesdio.h19 #undef fdopen
100 #define fdopen(fd,p) PerlIO_fdopen(fd,p) macro
/openbsd-src/gnu/usr.bin/perl/cpan/IO-Socket-IP/t/
H A D18fdopen.t18 $s2->fdopen( $s1->fileno, 'r' ) or die "Cannot fdopen - $!";
/openbsd-src/gnu/usr.bin/perl/ext/IPC-Open3/lib/IPC/
H A DOpen3.pm387 $fd->{handle}->fdopen(defined($fileno)
433 $fd->{handle}->fdopen($fd->{tmp_copy}, $fd->{mode});
/openbsd-src/usr.bin/chpass/
H A Dedit.c85 if (!(fp = fdopen(fd, "w"))) in display()
141 (fp = fdopen(fd, "r")) == NULL) in verify()
/openbsd-src/gnu/lib/libiberty/src/
H A Dfopen_unlocked.c115 FILE *const fp = fdopen (fildes, mode); in fdopen_unlocked()
/openbsd-src/regress/lib/libc/stdio_threading/fputs/
H A Dfputs_test.c48 (sfp = fdopen(fd, "w+")) == NULL) { in main()

12345678910>>...12