nuttx/libs/libc/sched
chao an 1550747400 sched/getprioritymax: handle invaild policy as posix style
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>
2022-11-01 03:33:58 +08:00
..
clock_ticks2time.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
clock_time2ticks.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
clock_timespec_add.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
clock_timespec_subtract.c Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
Make.defs libc: Move cxx_initialize.c from libc/sched/ to libc/misc 2022-05-04 08:58:43 +02:00
sched_backtrace.c sched: Guard backtrace related code correctly 2022-10-11 00:01:35 +02:00
sched_cpucount.c
sched_dumpstack.c sched/dumpstack: Print "backtrace:" only in the first iteration 2022-03-23 07:26:19 +09:00
sched_getprioritymax.c sched/getprioritymax: handle invaild policy as posix style 2022-11-01 03:33:58 +08:00
sched_getprioritymin.c
task_setcanceltype.c Fix various typos 2022-07-08 02:15:54 +08:00
task_startup.c libc: Move cxx_initialize.c from libc/sched/ to libc/misc 2022-05-04 08:58:43 +02:00
task_testcancel.c