Function posix_fallocate

Source
pub fn posix_fallocate<Fd: AsFd>(
    fd: Fd,
    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