pub fn fstat_legacy(fd: usize, stat: &mut Stat) -> Result<usize, Error>
Get metadata about a file (legacy Stat struct).