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