summaryrefslogtreecommitdiff
path: root/05/musl-0.6.0/src/time
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-02-23 22:37:01 -0800
committerpommicket <pommicket@gmail.com>2022-02-23 22:37:01 -0800
commitc75af0c8e5fdf7792081f03ca8a01764953b19a4 (patch)
tree811fcdb32086c0b5b4a41f18031c8fcde65ca4b6 /05/musl-0.6.0/src/time
parent9bc8a11afeed3569736b89754012e3ca22ee10f6 (diff)
coda
Diffstat (limited to '05/musl-0.6.0/src/time')
-rw-r--r--05/musl-0.6.0/src/time/clock_gettime.c5
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);
+}