You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/31 18:15:47 UTC
[GitHub] [incubator-nuttx] anchao opened a new pull request, #7492: sched/posix/timer: handle invaild timerid correctly
anchao opened a new pull request, #7492:
URL: https://github.com/apache/incubator-nuttx/pull/7492
## Summary
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 <an...@xiaomi.com>
https://github.com/linux-test-project/ltp/blob/master/testcases/open_posix_testsuite/conformance/interfaces/timer_delete/1-2.c#L43-L55
## Impact
N/A
## Testing
ltp test / ci check
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] acassis merged pull request #7492: sched/posix/timer: handle invaild timerid correctly
Posted by GitBox <gi...@apache.org>.
acassis merged PR #7492:
URL: https://github.com/apache/incubator-nuttx/pull/7492
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org