sched_get_priority_max 2. Syntax 3. Param 4. Return Value 5. Remark 6. Example 7. Issue

Get priority limits (REALTIME).

The functions shall return the appropriate maximum.

2. Syntax

1
int sched_get_priority_max(int policy);

3. Param

policy

The value of policy shall be one of the scheduling policy values defined in <sched.h>.

4. Return Value

Upon successful, return appropriate maximum value; otherwise, return -1, and set errno to indicate the error.

5. Remark

6. Example

7. Issue