/* ISC license. */ #include #include #include #include #include int localtm_from_tai (struct tm *l, tai_t const *t, int tz) { uint64 u ; if (!ltm64_from_tai(&u, t)) return 0 ; return localtm_from_ltm64(l, u, tz) ; }