(
fd: PipeFd,
bufs: &[IoSliceRaw<'_>],
flags: SpliceFlags,
)
| 169 | #[cfg(linux_kernel)] |
| 170 | #[inline] |
| 171 | pub unsafe fn vmsplice<PipeFd: AsFd>( |
| 172 | fd: PipeFd, |
| 173 | bufs: &[IoSliceRaw<'_>], |
| 174 | flags: SpliceFlags, |
| 175 | ) -> io::Result<usize> { |
| 176 | backend::pipe::syscalls::vmsplice(fd.as_fd(), bufs, flags) |
| 177 | } |
| 178 | |
| 179 | /// `tee(fd_in, fd_out, len, flags)`—Copy data between pipes without |
| 180 | /// consuming it. |