Function wasmer_wasix::syscalls::wasi::fd_fdstat_get::fd_fdstat_get

source ·
pub fn fd_fdstat_get<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    fd: Fd,
    buf_ptr: WasmPtr<Fdstat, M>,
) -> Errno
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