pub(crate) fn fd_filestat_get_internal(
ctx: &mut FunctionEnvMut<'_, WasiEnv>,
fd: Fd,
) -> Result<Filestat, Errno>
Expand description
ยงfd_filestat_get()
Get the metadata of an open file
Input:
__wasi_fd_t fd
The open file descriptor whose metadata will be read
Output:
__wasi_filestat_t *buf
Where the metadata fromfd
will be written