[−][src]Function wasi::wasi_snapshot_preview1::fd_allocate

pub unsafe extern "C" fn fd_allocate(
    fd: Fd,
    offset: Filesize,
    len: Filesize
) -> Errno

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