alpm_sys

Function 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)