wasmtime_wasi::preview1::wasi_snapshot_preview1

Function fd_allocate

source
pub fn fd_allocate(
    ctx: &mut impl WasiSnapshotPreview1,
    memory: &mut GuestMemory<'_>,
    arg0: i32,
    arg1: i64,
    arg2: i64,
) -> Result<i32>
Available on crate feature preview1 only.