[][src]Function alpm_sys_fork::alpm_db_get_pkgcache

pub unsafe extern "C" fn alpm_db_get_pkgcache(
    db: *mut alpm_db_t
) -> *mut alpm_list_t

Get the package cache of a package database. @param db pointer to the package database to get the package from @return the list of packages on success, NULL on error