pub fn path_open<M: Memory>(
    ctx: &mut WasiCtx,
    mem: &mut M,
    dirfd: __wasi_fd_t,
    _dirflags: Type,
    path: WasmPtr<u8>,
    path_len: __wasi_size_t,
    o_flags: Type,
    fs_rights_base: Type,
    fs_rights_inheriting: Type,
    fs_flags: Type,
    fd_ptr: WasmPtr<__wasi_fd_t>
) -> Result<(), Errno>