Function alpm_sys::alpm_remove_pkg
source · pub unsafe extern "C" fn alpm_remove_pkg(
handle: *mut alpm_handle_t,
pkg: *mut alpm_pkg_t
) -> c_int
Expand description
Add a package removal to the transaction. @param handle the context handle @param pkg the package to uninstall @return 0 on success, -1 on error (pm_errno is set accordingly)