schedrrgetinterval(2) schedrrgetinterval(2)
NAME
schedrrgetinterval - get round robin scheduling interval
C SYNOPSIS
#include <sched.h>
int schedrrgetinterval (pidt pid, struct timespec *interval)
DESCRIPTION
schedrrgetinterval stores the round robin scheduling interval at
address interval for the process named by pid. If pid is set to zero,
then schedrrgetinterval obtains the interval for the calling process.
schedrrgetinterval 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
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.
Page 1