Function nc::sched_rr_get_interval [−][src]
pub fn sched_rr_get_interval(
pid: pid_t,
interval: &mut timespec_t
) -> Result<(), Errno>
Expand description
Get the SCHED_RR interval for the named process.
let mut ts = nc::timespec_t::default(); let ret = nc::sched_rr_get_interval(0, &mut ts); assert!(ret.is_ok());