函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\itimer.c Create Date:2022-07-27 11:49:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static unsigned int alarm_setitimer(unsigned int seconds)

返回类型:unsigned int

参数:

类型参数名称
unsigned intseconds
286  如果seconds大于INT_MAXseconds等于INT_MAX
289  seconds 等于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  如果非 seconds nanoseconds nanoseconds 大于等于NSEC_PER_SEC除2则 seconds 自加
303  返回: seconds
调用者
名称描述
SYSCALL_DEFINE1For backwards compatibility? This can be done in libc so Alpha* and all newer ports shouldn't need it.