Skip to main content

xila_file_read

Function xila_file_read 

Source
pub unsafe extern "C" fn xila_file_read(
    file: *mut File,
    buffer: *mut c_void,
    size: usize,
    count: *mut usize,
) -> Status
Expand description

Read directly into the caller’s buffer; zero size permits a null buffer.

§Safety

File must be live and exclusively accessed. Buffer must be writable for size bytes and disjoint from file and count. Count must be aligned and writable.