aboutsummaryrefslogtreecommitdiffstats
path: root/csrc/smith.c
blob: 5ac1e7315bd40473d9b0e01fe37755b20d5f7d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*********************************/
/*   SMITH            (  //      */
/*   smith             ( )/      */
/*   by salade         )(/       */
/*  ________________  ( /)       */
/* ()__)____________)))))   :^}  */
/*********************************/

#include "smith.h"
#include <sys/time.h>

char *
mr_smith()
{
    return ("---SMITH_V0.0.0---");
}

long
get_timestamp()
{
    struct timeval tv;
    long ct;

    gettimeofday(&tv, NULL);
    ct = ((tv.tv_sec * 1000) + (tv.tv_usec / 1000));
    return (ct);
}