Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timeconv.c Create Date:2022-07-28 10:44:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static int __isleap(long year)

Type:int

Parameter:

TypeParameterName
longyear
40  Return year % 4 == 0 && ( year % 100 != 0 || year % 400 == 0 )
Caller
NameDescribe
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)