blob: aaf388ad7ab34cc550c916f1b884f0106fc002c4 (
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)
{
register time_t u = time(0) ;
if (u == (time_t)-1) return 0 ;
return tai_from_time_sysclock(t, u) ;
}
|