summaryrefslogtreecommitdiff
path: root/Libraries/LibC/time.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2020-03-13 01:18:21 +0200
committerAndreas Kling <kling@serenityos.org>2020-03-19 15:48:00 +0100
commit64c73d07390c21be88bc8e74e734578cc63096be (patch)
treedd5402a01a7c4483c3a9bdb0fca936a677e498fa /Libraries/LibC/time.h
parent4484513b45c718807ef681a3ce6ce9daf57a64ca (diff)
downloadserenity-64c73d07390c21be88bc8e74e734578cc63096be.zip
LibC: Add new syscall to allow changing the system date
Diffstat (limited to 'Libraries/LibC/time.h')
-rw-r--r--Libraries/LibC/time.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibC/time.h b/Libraries/LibC/time.h
index f94fed9c99..3fa28ca5d8 100644
--- a/Libraries/LibC/time.h
+++ b/Libraries/LibC/time.h
@@ -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);