Function base::sys::linux::find_next_data

source ·
pub fn find_next_data(
    fd: &dyn AsRawDescriptor,
    offset: u64,
    len: u64
) -> Result<Option<Range<u64>>>
Expand description

Find the offset range of the next data in the file.

§Arguments

  • fd - the AsRawDescriptor of the file
  • offset - the offset to start traversing from
  • len - the len of the region over which to traverse