diff options
Diffstat (limited to '05/musl-0.6.0/src/time')
-rw-r--r-- | 05/musl-0.6.0/src/time/clock_gettime.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/05/musl-0.6.0/src/time/clock_gettime.c b/05/musl-0.6.0/src/time/clock_gettime.c index dab09d5..67a05ba 100644 --- a/05/musl-0.6.0/src/time/clock_gettime.c +++ b/05/musl-0.6.0/src/time/clock_gettime.c @@ -5,3 +5,8 @@ int clock_gettime(clockid_t clk, struct timespec *ts) { return syscall2(__NR_clock_gettime, clk, (long)ts); } + +int clock_settime(clockid_t clk, const struct timespec *ts) +{ + return syscall2(__NR_clock_settime, clk, (long)ts); +} |