pub fn fstatfs<Fd: AsFd>(fd: Fd) -> Result<Statfs>
Describes a mounted file system.
The result is OS-dependent. For a portable alternative, see fstatvfs.
fstatvfs
fd - File descriptor of any open file within the file system to describe
fd