The Pedigree Project 0.1
clock-syscalls.h
1/* Copyright (c) 2026, Pedigree Developers. */
2#ifndef POSIX_CLOCK_SYSCALLS_H
3#define POSIX_CLOCK_SYSCALLS_H
4
5#include "pedigree/kernel/time/Time.h"
6
8 uint64_t generation;
9 Time::Timestamp realtime;
10 Time::Timestamp monotonic;
11};
12
13PosixClockSnapshot posix_clock_snapshot();
14uint64_t posix_clock_change_generation();
15bool posix_clock_step(int64_t nanoseconds);
16
17#endif