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 fdThe open file descriptor whose metadata will be read
Output:
__wasi_filestat_t *bufWhere the metadata fromfdwill be written