summaryrefslogtreecommitdiffstats
path: root/flags/time.h1
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.zurcher@heraeus.com>2014-01-06 15:39:05 +0100
committerJérémy Zurcher <jeremy.zurcher@heraeus.com>2014-01-06 15:39:05 +0100
commit09397c778731916891d660ac4ebbb6f3ac5a15fb (patch)
tree9ec6b32f0a32f2744d173ca0fe91bc5ea2f2cb50 /flags/time.h1
downloaddjb-way-09397c778731916891d660ac4ebbb6f3ac5a15fb.zip
djb-way-09397c778731916891d660ac4ebbb6f3ac5a15fb.tar.gz
Initial commit
Diffstat (limited to 'flags/time.h1')
-rw-r--r--flags/time.h117
1 files changed, 17 insertions, 0 deletions
diff --git a/flags/time.h1 b/flags/time.h1
new file mode 100644
index 0000000..b6aa5af
--- /dev/null
+++ b/flags/time.h1
@@ -0,0 +1,17 @@
+#include <stdlib.h>
+#include <unistd.h>
+#ifdef SYSV
+ #include <time.h>
+#else
+ #include <sys/time.h>
+#endif
+
+
+int main(void)
+{
+ struct timespec s;
+ clock_gettime(CLOCK_REALTIME, &s);
+ return EXIT_SUCCESS;
+}
+
+