alpm_sys

Function alpm_pkg_changelog_close

Source
pub unsafe extern "C" fn alpm_pkg_changelog_close(
    pkg: *const alpm_pkg_t,
    fp: *mut c_void,
) -> c_int
Expand description

Close a package changelog for reading. @param pkg the package to close the changelog of (either file or db) @param fp the ‘file stream’ to the package changelog to close @return 0 on success, -1 on error