Skip to main content

xila_file_seek

Function xila_file_seek 

Source
pub unsafe extern "C" fn xila_file_seek(
    file: *mut File,
    offset: i64,
    whence: u32,
    position: *mut u64,
) -> Status
Expand description

Seek using XILA_SEEK_START, CURRENT or END. Position output is optional.

ยงSafety

File must be live and exclusively accessed; non-null position must be aligned, writable and disjoint from the object.