aboutsummaryrefslogtreecommitdiff
path: root/tai_now.c
diff options
context:
space:
mode:
Diffstat (limited to 'tai_now.c')
-rw-r--r--tai_now.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tai_now.c b/tai_now.c
new file mode 100644
index 0000000..91e84da
--- /dev/null
+++ b/tai_now.c
@@ -0,0 +1,7 @@
+#include <time.h>
+#include "tai.h"
+
+void tai_now(struct tai *t)
+{
+ tai_unix(t,time((time_t *) 0));
+}