Function nc::munlockall
source · pub unsafe fn munlockall() -> Result<(), Errno>
Expand description
Unlock memory.
§Example
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());