summaryrefslogtreecommitdiff
path: root/snac.c
diff options
context:
space:
mode:
Diffstat (limited to 'snac.c')
-rw-r--r--snac.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/snac.c b/snac.c
index 3c9fd40..3140474 100644
--- a/snac.c
+++ b/snac.c
@@ -58,6 +58,15 @@ d_char *tid(int offset)
}
+double ftime(void)
+/* returns the UNIX time as a float */
+{
+ xs *ntid = tid(0);
+
+ return atof(ntid);
+}
+
+
int validate_uid(char *uid)
/* returns if uid is a valid identifier */
{