Skip to main content

xila_file_duplicate

Function xila_file_duplicate 

Source
pub unsafe extern "C" fn xila_file_duplicate(
    file: *const File,
    output: *mut *mut File,
) -> Status
Expand description

Return an independently closable handle with the same cursor and status flags.

ยงSafety

File must be live. Serialize with close and operations that mutably borrow the file. Output must be aligned, writable and disjoint from the file.