nix::fcntl

Function posix_fallocate

Source
pub fn posix_fallocate<Fd: AsFd>(
    fd: Fd,
    offset: off_t,
    len: off_t,
) -> Result<()>
Expand description

Pre-allocate storage for a range in a file

ยงSee Also