serenity/Kernel/RTC.h
Andreas Kling dc6f57f19c Add gettimeofday() syscall and LibC wrappers gettimeofday() and time().
This only has second accuracy right now, I'll work out subseconds later.
2018-10-25 17:36:18 +02:00

13 lines
107 B
C++

#pragma once
#include "types.h"
namespace RTC {
void initialize();
time_t now();
time_t bootTime();
}