Skip to main content

duckdb_file_system_open

Function duckdb_file_system_open 

Source
pub unsafe extern "C" fn duckdb_file_system_open(
    file_system: duckdb_file_system,
    path: *const c_char,
    options: duckdb_file_open_options,
    out_file: *mut duckdb_file_handle,
) -> duckdb_state
Expand description

Opens a file at the given path with the specified options.

history:

  • unstable: v1.5.0
  • stable: v1.5.6

@param file_system The file system instance. @param path The path to the file. @param options The file open options specifying how to open the file. @param out_file The resulting file handle instance, or nullptr if the open failed. Must be destroyed with duckdb_destroy_file_handle. @return duckdb_state