[−][src]Function wasi::path_filestat_get
pub unsafe fn path_filestat_get(
fd: Fd,
flags: Lookupflags,
path: &str
) -> Result<Filestat>
Return the attributes of a file or directory.
Note: This is similar to stat
in POSIX.
Parameters
flags
- Flags determining the method of how the path is resolved.path
- The path of the file or directory to inspect.
Return
buf
- The buffer where the file's attributes are stored.