Skip to main content

xila_file_open

Function xila_file_open 

Source
pub unsafe extern "C" fn xila_file_open(
    directory: *const Directory,
    path: *const c_char,
    path_length: usize,
    flags: u32,
    file: *mut *mut File,
) -> Status
Expand description

Open a file relative to a directory with validated XILA_OPEN flags.

ยงSafety

Objects must be live. Path must be readable for its length; output writable, aligned and disjoint from inputs. Calls on an object must be serialized.