pub fn fsize(fd: Ri) -> Result<usize, ErrorStatus>
Gets the size of the file with the resource id fd
fd