/* ISC license. */ #include #include int tai_from_timeval (tai_t *t, struct timeval const *tv) { tai_unix(t, tv->tv_sec) ; return 1 ; }