rustix::fs

Function fstatfs

Source
pub fn fstatfs<Fd: AsFd>(fd: Fd) -> Result<StatFs>
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