ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/AIO.pm
(Generate patch)

Comparing IO-AIO/AIO.pm (file contents):
Revision 1.253 by root, Thu Jun 25 13:34:28 2015 UTC vs.
Revision 1.254 by root, Thu Jun 25 13:42:18 2015 UTC

2130 2130
2131=item ($rfh, $wfh) = IO::AIO::pipe2 [$flags] 2131=item ($rfh, $wfh) = IO::AIO::pipe2 [$flags]
2132 2132
2133This is a direct interface to the Linux L<pipe2(2)> system call. If 2133This is a direct interface to the Linux L<pipe2(2)> system call. If
2134C<$flags> is missing or C<0>, then this should be the same as a call to 2134C<$flags> is missing or C<0>, then this should be the same as a call to
2135perl's built-in C<pipe> function and create a new pipe, and should work 2135perl's built-in C<pipe> function and create a new pipe, and works on
2136everywhere. 2136systems that lack the pipe2 syscall. On win32, this case invokes C<_pipe
2137(..., 4096, O_BINARY)>.
2137 2138
2138If C<$flags> is non-zero, it tries to invoke the pipe2 system call with 2139If C<$flags> is non-zero, it tries to invoke the pipe2 system call with
2139the given flags (Linux 2.6.27, glibc 2.9). 2140the given flags (Linux 2.6.27, glibc 2.9).
2140 2141
2141On success, the read and write file handles are returned. 2142On success, the read and write file handles are returned.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines