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 fileoffset
- the offset to start traversing fromlen
- the len of the region over which to traverse