函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Nonzero if YEAR is a leap year (every 4 years,* except every 100th isn't, and every 400th is).

函数原型:static int __isleap(long year)

返回类型:int

参数:

类型参数名称
longyear
40  返回:year取模4恒等于0且year取模100不等于0或year取模400恒等于0的值
调用者
名称描述
time64_to_tmme64_to_tm - converts the calendar time to local broken-down time*@totalsecs the number of seconds elapsed since 00:00:00 on January 1, 1970,* Coordinated Universal Time (UTC)