Function iopl
pub unsafe fn iopl(level: i32) -> Result<(), i32> ⓘ
Available on crate feature
dep_nc
only.Expand description
Change I/O privilege level.
§Examples
let ret = unsafe { nc::iopl(1) };
assert!(ret.is_err());
assert_eq!(ret, Err(nc::EPERM));