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)
58} 58}
59 59
60 60
61double ftime(void)
62/* returns the UNIX time as a float */
63{
64 xs *ntid = tid(0);
65
66 return atof(ntid);
67}
68
69
61int validate_uid(char *uid) 70int validate_uid(char *uid)
62/* returns if uid is a valid identifier */ 71/* returns if uid is a valid identifier */
63{ 72{