Function wasmer_wasix::syscalls::wasix::fd_fdflags_get::fd_fdflags_get

source ·
pub fn fd_fdflags_get<M: MemorySize>(
    ctx: FunctionEnvMut<'_, WasiEnv>,
    wasi_fd: Fd,
    buf_ptr: WasmPtr<Fdflagsext, 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