Function alpm_sys::alpm_release
source · pub unsafe extern "C" fn alpm_release(
handle: *mut alpm_handle_t
) -> c_int
Expand description
Release the library. Disconnects from the database, removes handle and lockfile This should be the last alpm call you make. After this returns, handle should be considered invalid and cannot be reused in any way. @param handle the context handle @return 0 on success, -1 on error