The Pedigree Project
0.1
src
modules
subsys
posix
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
7
struct
PosixClockSnapshot
{
8
uint64_t generation;
9
Time::Timestamp realtime;
10
Time::Timestamp monotonic;
11
};
12
13
PosixClockSnapshot
posix_clock_snapshot();
14
uint64_t posix_clock_change_generation();
15
bool
posix_clock_step(int64_t nanoseconds);
16
17
#endif
PosixClockSnapshot
Definition
clock-syscalls.h:7
Generated on Tue Sep 22 2026 06:05:42 for The Pedigree Project by
1.9.8