summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/timer_create.c
diff options
context:
space:
mode:
authortholo <tholo@openbsd.org>1997-04-20 20:56:17 +0000
committertholo <tholo@openbsd.org>1997-04-20 20:56:17 +0000
commit860d5110bab0554d612da9521d84ffa60883c5a5 (patch)
tree5ad5a98c89db796dac8882993bb4c3b00705bd8b /lib/libc/sys/timer_create.c
parentAllow kern_clock.c to see interrupt frames on i386 (diff)
downloadwireguard-openbsd-860d5110bab0554d612da9521d84ffa60883c5a5.tar.xz
wireguard-openbsd-860d5110bab0554d612da9521d84ffa60883c5a5.zip
New POSIX 1003.1b syscalls; from pk@NetBSD
Diffstat (limited to 'lib/libc/sys/timer_create.c')
-rw-r--r--lib/libc/sys/timer_create.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/libc/sys/timer_create.c b/lib/libc/sys/timer_create.c
new file mode 100644
index 00000000000..43ca4681fc8
--- /dev/null
+++ b/lib/libc/sys/timer_create.c
@@ -0,0 +1,13 @@
+#include <signal.h>
+#include <time.h>
+#include <errno.h>
+
+int
+timer_create(clock_id, evp, timerid)
+ clockid_t clock_id;
+ struct sigevent *evp;
+ timer_t *timerid;
+{
+ errno = ENOSYS;
+ return -1;
+}