]> pd.if.org Git - pdclib/blobdiff - functions/time/timespec_get.c
Moved notime and mincoll from opt/ to functions/.
[pdclib] / functions / time / timespec_get.c
diff --git a/functions/time/timespec_get.c b/functions/time/timespec_get.c
new file mode 100644 (file)
index 0000000..04acf61
--- /dev/null
@@ -0,0 +1,18 @@
+#include <time.h>
+#ifndef REGTEST
+
+int timespec_get( struct timespec *ts, int base )
+{
+    return 0;
+}
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
+#endif