Function alpm_sys::alpm_option_add_ignorepkg
source · pub unsafe extern "C" fn alpm_option_add_ignorepkg(
handle: *mut alpm_handle_t,
pkg: *const c_char
) -> c_int
Expand description
Add a file to the ignored package list @param handle the context handle @param pkg the package to add @return 0 on success, -1 on error (pm_errno is set accordingly)