1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 05:35:07 +00:00
serenity/Kernel/Arch/x86/common/RTC.h
Andreas Kling 10fa72d451 Kernel: Use AK::Time for InodeMetadata timestamps instead of time_t
Before this change, we were truncating the nanosecond part of file
timestamps in many different places.
2022-11-24 16:56:27 +01:00

17 lines
241 B
C++

/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/UnixTypes.h>
namespace Kernel::RTC {
void initialize();
time_t now();
Time boot_time();
}