Function report |
Source Code:kernel\time\itimer.c |
Create Date:2022-07-28 10:49:12 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alarm_setitimer - set alarm in seconds*@seconds: number of seconds until alarm* 0 disables the alarm* Returns the remaining time in seconds of a pending timer or 0 when* the timer is not active
Proto:static unsigned int alarm_setitimer(unsigned int seconds)
Type:unsigned int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned int | seconds |
| 290 | nanoseconds = 0 |
| 291 | seconds = nanoseconds = 0 |
| 293 | do_setitimer(Names of the interval timers, and structure* defining a timer setting:, & it_new, & it_old) |
| 299 | If Not seconds && nanoseconds || nanoseconds >= NSEC_PER_SEC / 2 Then seconds ++ |
| 303 | Return seconds |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE1 | For backwards compatibility? This can be done in libc so Alpha* and all newer ports shouldn't need it. |
| 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 |