extern "wasi_snapshot_preview1" fn path_open(fd_t, lookupflags_t, [*]const u8, usize, oflags_t, rights_t, rights_t, fdflags_t, *fd_t) callconv(.C) errno_t
dirfd: fd_t,
dirflags: lookupflags_t,
path: [*]const u8,
path_len: usize,
oflags: oflags_t,
fs_rights_base: rights_t,
fs_rights_inheriting: rights_t,
fs_flags: fdflags_t,
fd: *fd_t,