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