summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/timer_settime.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/timer_settime.c')
-rw-r--r--lib/libc/sys/timer_settime.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/libc/sys/timer_settime.c b/lib/libc/sys/timer_settime.c
new file mode 100644
index 00000000000..ff42e9cd0c7
--- /dev/null
+++ b/lib/libc/sys/timer_settime.c
@@ -0,0 +1,14 @@
+#include <signal.h>
+#include <time.h>
+#include <errno.h>
+
+int
+timer_settime(timerid, flags, value, ovalue)
+ timer_t timerid;
+ int flags;
+ const struct itimerspec *value;
+ struct itimerspec *ovalue;
+{
+ errno = ENOSYS;
+ return -1;
+}