pub fn fstatfs<Fd: AsFd>(fd: &Fd) -> io::Result<StatFs>
The portability is definied by: #[cfg(not(any(target_os = "illumos", target_os = "netbsd", target_os =
"redox", target_os = "wasi")))]
Documentation
fstatfs(fd)
—Queries filesystem statistics for an open file or directory.
References