Module nix::sys::sendfile
The portability is definied by:
#[cfg(any(target_os = "android", target_os = "freebsd", target_os = "ios",
target_os = "linux", target_os = "macos"))]
Documentation
Send data from a file to a socket, bypassing userland.
Functions
sendfile any(target_os = "android", target_os = "linux")
Copy up to count
bytes to out_fd
from in_fd
starting at offset
.
sendfile64 target_os = "linux"
Copy up to count
bytes to out_fd
from in_fd
starting at offset
.