Function wasmer_wasix::syscalls::wasi::path_filestat_get::path_filestat_get_old
source · pub fn path_filestat_get_old<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
flags: LookupFlags,
path: WasmPtr<u8, M>,
path_len: M::Offset,
buf: WasmPtr<Snapshot0Filestat, M>,
) -> Errno
Expand description
§path_filestat_get_old()
Access metadata about a file or directory Inputs:
Fd fd
The directory thatpath
is relative toLookupFlags flags
Flags to control howpath
is understoodconst char *path
String containing the file pathu32 path_len
The length of thepath
string Output:__wasi_file_stat_t *buf
The location where the metadata will be stored