pub fn fd_fdstat_get<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
buf_ptr: WasmPtr<Fdstat, M>,
) -> Result<Errno, WasiError>
Expand description
ยงfd_fdstat_get()
Get metadata of a file descriptor Input:
Fd fd
The file descriptor whose metadata will be accessed Output:Fdstat *buf
The location where the metadata will be written