pub fn fstatfs<T: AsRawFd>(fd: &T) -> 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