summaryrefslogtreecommitdiff
path: root/src/time.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-26 16:29:41 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-26 16:29:41 +0000
commit2633e6f22b3de1030da5e65d5128672324ac9565 (patch)
treecdc27a199bab9e4806dbddc8bcbd547f1440ef0e /src/time.c
parentad940f15c9754d415e2c10b174a3a8d7ed34db4d (diff)
downloadlibnsutils-2633e6f22b3de1030da5e65d5128672324ac9565.tar.gz
libnsutils-2633e6f22b3de1030da5e65d5128672324ac9565.tar.bz2
add initial monotonic timer API
Diffstat (limited to 'src/time.c')
-rw-r--r--src/time.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/time.c b/src/time.c
new file mode 100644
index 0000000..c0a5dff
--- /dev/null
+++ b/src/time.c
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2014 Vincent Sanders <vince@netsurf-browser.org>
+ *
+ * This file is part of libnsutils.
+ *
+ * Licensed under the MIT License,
+ * http://www.opensource.org/licenses/mit-license.php
+ */
+
+/**
+ * \file
+ * Time operation implementation
+ */
+
+#include <stdint.h>
+#include <stdlib.h>
+#include <stdbool.h>
+#include <string.h>
+
+#include "nsutils/time.h"
+
+nserror nsu_nsu_getmonotonic_ms(uint64_t *current)
+{
+ return NSERROR_NOT_IMPLEMENTED;
+}