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