Function report |
Source Code:kernel\time\posix-timers.c |
Create Date:2022-07-28 10:46:36 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Get the time remaining on a POSIX.1b interval timer.
Proto:static int do_timer_gettime(timer_t timer_id, struct itimerspec64 *setting)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| timer_t | timer_id | |
| struct itimerspec64 * | setting |
| 700 | ret = 0 |
| 702 | timr = lock_timer(timer_id, & flags) |
| 708 | If WARN_ON_ONCE(!kc || !timer_get) Then ret = -EINVAL |
| 713 | unlock_timer(timr, flags) |
| 714 | Return ret |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE2 | Get the time remaining on a POSIX.1b interval timer. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |