Function wasmer_wasix::syscalls::wasi::fd_allocate::fd_allocate
source · pub fn fd_allocate(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
offset: Filesize,
len: Filesize,
) -> Result<Errno, WasiError>
Expand description
§fd_allocate
Allocate extra space for a file descriptor Inputs:
Fd fd
The file descriptor to allocate forFilesize offset
The offset from the start marking the beginning of the allocationFilesize len
The length from the offset marking the end of the allocation