nc
pub fn mlockall(flags: i32) -> Result<(), Errno>
Lock memory.
let ret = nc::mlockall(nc::MCL_CURRENT); assert!(ret.is_ok());