sched_rr_get_interval(2)
sched_rr_get_interval - get round robin scheduling interval
As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.
NAME sched_rr_get_interval - get round robin scheduling interval C SYNOPSIS #include <sched.h> int sched_rr_get_interval (pid_t pid, struct timespec *interval) DESCRIPTION sched_rr_get_interval stores the round robin scheduling interval at address interval for the process named by pid. If pid is set to zero, then sched_rr_get_interval obtains the interval for the calling process. sched_rr_get_interval will fail if one or more of the following are true: [EFAULT] The address specified by interval is outside the range of the caller's address space. [ESRCH] The process named by pid does not exist. SEE ALSO sched_get_priority_max(2), sched_get_priority_min(2), sched_getparam(2), sched_setparam(2), sched_setscheduler(2), sched_yield(2) DIAGNOSTICS Upon successful completion, a value of 0 is returned to the calling process. Otherwise, a value of -1 is returned and errno is set to indicate the error.