1 2 3 4 5 6 7 8 9 10
/* ISC license. */ #include <sys/time.h> #include <skalibs/tai.h> int tai_from_timeval (tai_t *t, struct timeval const *tv) { tai_unix(t, tv->tv_sec) ; return 1 ; }