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.226 by root, Mon May 28 17:00:19 2012 UTC vs.
Revision 1.227 by root, Tue May 29 03:58:02 2012 UTC

1977 1977
1978Calls the GNU/Linux C<splice(2)> syscall, if available. If C<$r_off> or 1978Calls the GNU/Linux C<splice(2)> syscall, if available. If C<$r_off> or
1979C<$w_off> are C<undef>, then C<NULL> is passed for these, otherwise they 1979C<$w_off> are C<undef>, then C<NULL> is passed for these, otherwise they
1980should be the file offset. 1980should be the file offset.
1981 1981
1982C<$r_fh> and C<$w_fh> should not refer to the same file, as splice might
1983silently corrupt the data in this case.
1984
1982The following symbol flag values are available: C<IO::AIO::SPLICE_F_MOVE>, 1985The following symbol flag values are available: C<IO::AIO::SPLICE_F_MOVE>,
1983C<IO::AIO::SPLICE_F_NONBLOCK>, C<IO::AIO::SPLICE_F_MORE> and 1986C<IO::AIO::SPLICE_F_NONBLOCK>, C<IO::AIO::SPLICE_F_MORE> and
1984C<IO::AIO::SPLICE_F_GIFT>. 1987C<IO::AIO::SPLICE_F_GIFT>.
1985 1988
1986See the C<splice(2)> manpage for details. 1989See the C<splice(2)> manpage for details.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines