Function munlockall
pub unsafe fn munlockall() -> Result<(), i32> ⓘ
Available on crate feature
dep_nc
only.Expand description
Unlock memory.
§Examples
let ret = unsafe { nc::mlockall(nc::MCL_CURRENT) };
assert!(ret.is_ok() || ret == Err(nc::ENOMEM));
let ret = unsafe { nc::munlockall() };
assert!(ret.is_ok());