[][src]Function wasi::fd_allocate

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

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.