rustix::fs

Function sendfile

Source
pub fn sendfile<OutFd: AsFd, InFd: AsFd>(
    out_fd: OutFd,
    in_fd: InFd,
    offset: Option<&mut u64>,
    count: usize,
) -> Result<usize>
Available on crate feature fs only.
Expand description

sendfile(out_fd, in_fd, offset, count)

ยงReferences