This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb738ef
)
[perl #32486] error in documentation for POSIX::pipe
author
Chris Lightfoot
<chris@ex-parrot.com>
Thu, 18 Nov 2004 18:09:54 +0000
(18:09 +0000)
committer
Rafael Garcia-Suarez
<rgarciasuarez@gmail.com>
Fri, 19 Nov 2004 09:22:33 +0000
(09:22 +0000)
From: chris@ex-parrot.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.11-32486-100537.1.
04456486825399
@perl.org>
p4raw-id: //depot/perl@23518
ext/POSIX/POSIX.pod
patch
|
blob
|
blame
|
history
diff --git
a/ext/POSIX/POSIX.pod
b/ext/POSIX/POSIX.pod
index
66f5381
..
e7e0ad3
100644
(file)
--- a/
ext/POSIX/POSIX.pod
+++ b/
ext/POSIX/POSIX.pod
@@
-956,8
+956,8
@@
Create an interprocess channel. This returns file descriptors like those
returned by C<POSIX::open>.
($fd0, $fd1) = POSIX::pipe();
- POSIX::write( $fd
0
, "hello", 5 );
- POSIX::read( $fd
1
, $buf, 5 );
+ POSIX::write( $fd
1
, "hello", 5 );
+ POSIX::read( $fd
0
, $buf, 5 );
See also L<perlfunc/pipe>.