pub fn sendfile<OutFd: AsFd, InFd: AsFd>(out_fd: &OutFd, in_fd: &InFd, offset: Option<&mut u64>, count: usize) -> io::Result<usize>
The portability is definied by: #[cfg(any(linux_raw,
all(libc, any(target_os = "android", target_os = "linux"))))]
Documentation
sendfile(out_fd, in_fd, offset, count)
References