Function nc::iopl

source ·
pub unsafe fn iopl(level: i32) -> Result<(), Errno>
Expand description

Change I/O privilege level.

§Example

let ret = unsafe { nc::iopl(1) };
assert!(ret.is_err());
assert_eq!(ret, Err(nc::EPERM));