Skip to main content

fstatfs

Function fstatfs 

Source
pub fn fstatfs<T>(fd: &T) -> Result<Statfs, Errno>
where T: AsRawFd,
Expand description

Describes a mounted file system.

The result is OS-dependent. For a portable alternative, see fstatvfs.

ยงArguments

fd - File descriptor of any open file within the file system to describe