blob: a9710d4ed43253bf349985677575e2a79deb0c9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* ISC license. */
/* MT-unsafe */
#include <time.h>
#include <skalibs/tai.h>
int tai_now (tai_t *t)
{
time_t u = time(0) ;
if (u == (time_t)-1) return 0 ;
return tai_from_time_sysclock(t, u) ;
}
|