modify the return value according to posix standard
------------
SCHED_GET_PRIORITY_MAX(2)
NAME
sched_get_priority_max, sched_get_priority_min - get static priority range
RETURN VALUE
On success, sched_get_priority_max() and sched_get_priority_min() return the
maximum/minimum priority value for the named scheduling policy.
On error, -1 is returned, and errno is set appropriately.
ERRORS
EINVAL The argument policy does not identify a defined scheduling policy.
Signed-off-by: chao an <anchao@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| clock_ticks2time.c | ||
| clock_time2ticks.c | ||
| clock_timespec_add.c | ||
| clock_timespec_subtract.c | ||
| Make.defs | ||
| sched_backtrace.c | ||
| sched_cpucount.c | ||
| sched_dumpstack.c | ||
| sched_getprioritymax.c | ||
| sched_getprioritymin.c | ||
| task_setcanceltype.c | ||
| task_startup.c | ||
| task_testcancel.c | ||