Skip to main content

duckdb_file_handle_read

Function duckdb_file_handle_read 

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

Reads data from the file into the buffer.

@param file_handle The file handle to read from. @param buffer The buffer to read data into. @param size The number of bytes to read. @return The number of bytes actually read, or negative on error.