nix::fcntl

Function posix_fallocate

Source
pub fn posix_fallocate(fd: RawFd, offset: off_t, len: off_t) -> Result<()>
Available on crate feature fs only.
Expand description

Pre-allocate storage for a range in a file

ยงSee Also