blob: a0ee34b35a17fc44f51747d541aadb9a9ff16e6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <skalibs/tai.h>
#include <skalibs/djbtime.h>
int sysclock_from_localtmn (tain_t *a, localtmn_t const *l)
{
if (!sysclock_from_localtm(&a->sec.x, &l->tm)) return 0 ;
a->nano = l->nano ;
return 1 ;
}
|