feat: kprintf now goes into dedicated pseudo-dev rather than flooding the framebuffer
[lunaix-os.git] / lunaix-os / includes / lunaix / clock.h
1 #ifndef __LUNAIX_CLOCK_H
2 #define __LUNAIX_CLOCK_H
3
4 #include <lunaix/time.h>
5 void
6 clock_walltime(datetime_t* datetime);
7
8 /**
9  * @brief 返回当前系统时间,即自从开机到当前时刻的毫秒时。
10  *
11  * @return time_t
12  */
13 time_t
14 clock_systime();
15
16 time_t
17 clock_unixtime();
18
19 #endif /* __LUNAIX_CLOCK_H */