Function nix::fcntl::fallocate

source ยท
pub fn fallocate(
    fd: RawFd,
    mode: FallocateFlags,
    offset: off_t,
    len: off_t,
) -> Result<()>
Expand description

Manipulates file space.

Allows the caller to directly manipulate the allocated disk space for the file referred to by fd.