wasi

Function fd_allocate

Source
pub unsafe fn fd_allocate(
    fd: Fd,
    offset: Filesize,
    len: Filesize,
) -> Result<(), Errno>
Expand description

Force the allocation of space in a file. Note: This is similar to posix_fallocate in POSIX.

ยงParameters

  • offset - The offset at which to start the allocation.
  • len - The length of the area that is allocated.