pub fn fstat<Fd: AsFd>(fd: &Fd) -> Result<Stat>
fstat(fd)—Queries metadata for an open file or directory.
fstat(fd)