Skip to main content

duckdb_file_handle_write

Function duckdb_file_handle_write 

Source
pub unsafe extern "C" fn duckdb_file_handle_write(
    file_handle: duckdb_file_handle,
    buffer: *const c_void,
    size: i64,
) -> i64
Expand description

Writes data from the buffer to the file.

@param file_handle The file handle to write to. @param buffer The buffer containing data to write. @param size The number of bytes to write. @return The number of bytes actually written, or negative on error.