chao an e0a3fdf982 sched/posix/timer: handle invaild timerid correctly
TIMER_SETTIME(2)

NAME
       timer_settime, timer_gettime - arm/disarm and fetch state of POSIX per-process timer

SYNOPSIS
       #include <time.h>

       int timer_settime(timer_t timerid, int flags,
                         const struct itimerspec *new_value,
                         struct itimerspec *old_value);
       int timer_gettime(timer_t timerid, struct itimerspec *curr_value);
...
ERRORS
...
       EINVAL timerid is invalid.

Signed-off-by: chao an <anchao@xiaomi.com>
2022-10-31 19:59:29 -03:00
..
2022-08-02 21:04:19 +08:00
2022-07-27 00:36:49 +08:00
2022-10-15 18:34:07 +08:00
2022-01-29 01:04:23 +08:00
2022-08-24 16:58:10 +08:00
2022-10-19 21:20:35 +08:00
2022-02-20 21:58:10 +08:00
2022-09-05 10:39:36 -03:00
2022-10-28 02:19:26 +08:00
2022-08-09 22:13:09 +03:00
2022-07-27 00:36:49 +08:00
2022-10-26 09:11:52 +08:00
2022-03-17 09:37:15 +02:00
2022-06-03 12:50:14 +08:00
2022-07-27 00:36:49 +08:00
2022-09-05 22:27:05 +08:00
2022-04-17 23:32:05 +03:00