rustix::fsFunction fstatfs
Source pub fn fstatfs<Fd: AsFd>(fd: Fd) -> Result<StatFs>
Available on crate feature fs
only.
Expand description
fstatfs(fd)
—Queries filesystem statistics for an open file or directory.
Compared to fstatvfs
, this function often provides more information,
though it’s less portable.
§References