Function wasmer_wasix::syscalls::wasi::fd_filestat_get::fd_filestat_get_old
source · pub fn fd_filestat_get_old<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
buf: WasmPtr<Snapshot0Filestat, M>,
) -> Errno
Expand description
§fd_filestat_get_old()
Get the metadata of an open file
Input:
Fd fd
The open file descriptor whose metadata will be read
Output:
Snapshot0Filestat *buf
Where the metadata fromfd
will be written