summaryrefslogtreecommitdiff
path: root/src/sysdeps/trytimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysdeps/trytimer.c')
-rw-r--r--src/sysdeps/trytimer.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sysdeps/trytimer.c b/src/sysdeps/trytimer.c
new file mode 100644
index 0000000..84cea0d
--- /dev/null
+++ b/src/sysdeps/trytimer.c
@@ -0,0 +1,12 @@
+/* ISC license. */
+
+#include <sys/types.h>
+#include <signal.h>
+#include <time.h>
+
+int main (void)
+{
+ timer_t blah ;
+ if (timer_create(CLOCK_REALTIME, 0, &blah) < 0) return 111 ;
+ return 0 ;
+}