Function nix::fcntl::posix_fallocate
pub fn posix_fallocate(fd: RawFd, offset: libc::off_t, len: libc::off_t) -> Result<()>
The portability is definied by:
#[cfg(any(target_os = "linux", target_os = "android", target_os =
"emscripten", target_os = "fuchsia",
any(target_os = "wasi", target_env = "wasi"), target_os = "freebsd"))]