blob: 2b9dbb92930d0b51ef52387ed8934e25835574eb (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* ISC license. */
#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 ;
}
|