mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-09 01:20:46 +00:00
c5a00a56c8
This way we don't even need the Clock app anymore. Very cool :^)
14 lines
229 B
C++
14 lines
229 B
C++
#pragma once
|
|
|
|
#include "types.h"
|
|
|
|
namespace RTC {
|
|
|
|
void initialize();
|
|
time_t now();
|
|
time_t boot_time();
|
|
void read_registers(unsigned& year, unsigned& month, unsigned& day, unsigned& hour, unsigned& minute, unsigned& second);
|
|
|
|
}
|
|
|