Function wasmer_wasix::syscalls::wasi::fd_filestat_get::fd_filestat_get

source ·
pub fn fd_filestat_get<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    fd: Fd,
    buf: WasmPtr<Filestat, M>,
) -> Errno
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 from fd will be written