Gets the scheduling parameters associated with the scheduling policy for a given process.
Arguments
eax |
155 |
ebx |
PID of the process. If ebx is zero, then the parameters of the current process are retrieved. |
ecx |
Pointer to a
sched_param structure which will receive the scheduling parameters:
struc sched_param
{
sched_priority rd 1
} |
|
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:
-EINVAL |
*to be documented* |
-EFAULT |
ecx points to an invalid address. |
-ESRCH |
The process whose ID is ebx could not be found. |
|
Remarks
n/a
Compatibility
n/a |