Linux内核 -- RTC之`struct rtc_time` 字段解析
Linux Kernel 中 struct rtc_time 的 tm_year 字段详解 1. struct rtc_time 的定义 在 Linux 内核中,struct rtc_time 用于表示实时时钟(RTC)时间。其定义如下: struct rtc_time {int tm_sec; /* 分钟的秒数 (0-59) */int tm…
2025-04-19