Skip to main content

xila_file_write

Function xila_file_write 

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

Write directly from the caller’s buffer; zero size permits a null buffer.

§Safety

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