From c75af0c8e5fdf7792081f03ca8a01764953b19a4 Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 23 Feb 2022 22:37:01 -0800 Subject: coda --- 05/musl-0.6.0/src/time/clock_gettime.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to '05/musl-0.6.0/src/time') 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); +} -- cgit v1.2.3