alpm_sys

Function alpm_option_set_disable_sandbox

Source
pub unsafe extern "C" fn alpm_option_set_disable_sandbox(
    handle: *mut alpm_handle_t,
    disable_sandbox: c_ushort,
) -> c_int
Expand description

Enables/disables the sandbox. @param handle the context handle @param disable_sandbox 0 for enabled, 1 for disabled @return 0 on success, -1 on error (pm_errno is set accordingly)