sched_rr_get_interval - get execution time limits (REALTIME)
The sched_rr_get_interval() function shall update the timespec structure referenced by the interval argument to contain the current execution time limit (that is, time quantum) for the process specified by pid. If pid is zero, the current execution time limit for the calling process shall be returned.
If successful, the sched_rr_get_interval() function shall return zero. Otherwise, it shall return a value of -1 and set errno to indicate the error.
The sched_rr_get_interval() function shall fail if:
- [ESRCH]
- No process can be found corresponding to that specified by pid.
None.
None.
None.
None.
sched_getparam , sched_get_priority_max , sched_getscheduler , sched_setparam , sched_setscheduler
XBD <sched.h>
First released in Issue 5. Included for alignment with the POSIX Realtime Extension.
The sched_rr_get_interval() function is marked as part of the Process Scheduling option.
The [ENOSYS] error condition has been removed as stubs need not be provided if an implementation does not support the Process Scheduling option.
IEEE Std 1003.1-2001/Cor 1-2002, XSH/TC1/D6/53 is applied, changing the PS margin code in the SYNOPSIS to PS|TPS.
return to top of page