1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:57:45 +00:00

LibC: Add new syscall to allow changing the system date

This commit is contained in:
Liav A 2020-03-13 01:18:21 +02:00 committed by Andreas Kling
parent 4484513b45
commit 64c73d0739
2 changed files with 7 additions and 0 deletions

View file

@ -74,6 +74,7 @@ typedef int clockid_t;
#define TIMER_ABSTIME 99
int clock_gettime(clockid_t, struct timespec*);
int clock_settime(clockid_t, struct timespec*);
int clock_nanosleep(clockid_t, int flags, const struct timespec* requested_sleep, struct timespec* remaining_sleep);
int clock_getres(clockid_t, struct timespec* result);
struct tm* gmtime_r(const time_t* timep, struct tm* result);