pub fn fd_filestat_get_old<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    fd: Fd,
    buf: WasmPtr<Snapshot0Filestat, M>,
) -> Errno
Expand description

§fd_filestat_get_old()

Get the metadata of an open file

Input:

  • Fd fd The open file descriptor whose metadata will be read

Output:

  • Snapshot0Filestat *buf Where the metadata from fd will be written