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 fdThe open file descriptor whose metadata will be read
Output:
Filestat *bufWhere the metadata fromfdwill be written