pub fn fd_filestat_get<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
buf: WasmPtr<Filestat, M>,
) -> Result<Errno, WasiError>
Expand description
ยงfd_filestat_get()
Get the metadata of an open file
Input:
Fd fd
The open file descriptor whose metadata will be read
Output:
Filestat *buf
Where the metadata fromfd
will be written