alpm_sys

Function alpm_db_get_usage

Source
pub unsafe extern "C" fn alpm_db_get_usage(
    db: *mut alpm_db_t,
    usage: *mut c_int,
) -> c_int
Expand description

Gets the usage of a database. @param db pointer to the package database to get the status of @param usage pointer to an alpm_db_usage_t to store db’s status @return 0 on success, or -1 on error