sys_sched_rr_get_interval  [kernel/sched.c]


Gets the SCHED_RR interval for the named process.

Arguments

eax 161
ebx PID of the process whose round robin time quantum to be retrieved. The identified process should be running under the SCHED_RR scheduling policy.
ecx Pointer to a timespec structure which will be filled with return information:
struc timespec
{
tv_sec  rd 1 ; seconds
tv_nsec rd 1 ; nanoseconds
}

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:

-EFAULT Problem with copying information to userspace.
-EINVAL Invalid pid.
-ENOSYS The system call is not yet implemented.
-ESRCH The process whose ID is ebx could not be found.

Remarks

n/a

Compatibility

n/a