Function alpm_sys::alpm_db_unregister
source · pub unsafe extern "C" fn alpm_db_unregister(
db: *mut alpm_db_t
) -> c_int
Expand description
Unregister a package database. Databases can not be unregistered when there is an active transaction.
@param db pointer to the package database to unregister @return 0 on success, -1 on error (pm_errno is set accordingly)