summaryrefslogtreecommitdiff
path: root/set_time.c
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2015-10-05 08:38:46 -0400
committerJeffrey Armstrong <jeffrey.armstrong@approximatrix.com>2015-10-05 08:38:46 -0400
commit99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7 (patch)
tree83a11a0dc0f87198e251ca7ec19504aeec152bc1 /set_time.c
downloadfoslib-99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7.tar.gz
foslib-99cf9c4dc5855b1f5f26d00267fdbbe672ee27a7.zip
Initial commitHEADmaster
Diffstat (limited to 'set_time.c')
-rw-r--r--set_time.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/set_time.c b/set_time.c
new file mode 100644
index 0000000..a1bd943
--- /dev/null
+++ b/set_time.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <time.h>
+#include "fossil.h"
+double Set_Time(long online)
+{
+clock_t time_set;
+time_set = clock() + ( online * CLOCKS_PER_SEC);
+return(time_set);
+}