1 #ifndef __LUNAIX_CLOCK_H
2 #define __LUNAIX_CLOCK_H
6 typedef uint32_t time_t;
10 uint32_t year; // use int32 as we need to store the 4-digit year
23 clock_walltime(datetime_t* datetime);
26 clock_datatime_eq(datetime_t* a, datetime_t* b);
29 * @brief 返回当前系统时间,即自从开机到当前时刻的毫秒时。
36 #endif /* __LUNAIX_CLOCK_H */