blob: 8a2bd12ffbdd521a80a1827dc62b8f4a4cbbce74 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* ISC license. */
#include <skalibs/tai.h>
int sysclock_from_tain (tain_t *u, tain_t const *t)
{
if (!sysclock_from_tai(&u->sec.x, &t->sec)) return 0 ;
u->nano = t->nano ;
return 1 ;
}
|