summaryrefslogtreecommitdiff
path: root/src/time/timer_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/timer_settime.c')
-rw-r--r--src/time/timer_settime.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/time/timer_settime.c b/src/time/timer_settime.c
new file mode 100644
index 00000000..d109570b
--- /dev/null
+++ b/src/time/timer_settime.c
@@ -0,0 +1,7 @@
+#include <time.h>
+#include "pthread_impl.h"
+
+int timer_settime(timer_t t, int flags, const struct itimerspec *val, struct itimerspec *old)
+{
+ return syscall(SYS_timer_settime, t->timerid, flags, val, old);
+}