blob: a9a669fade69da748eb9f4a811d71cdfc665fed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* ISC license. */
#include <skalibs/djbtime.h>
int tain_from_localtmn (tain *a, localtmn const *l)
{
tai t ;
if (!tai_from_localtm(&t, &l->tm)) return 0 ;
a->sec = t ;
a->nano = l->nano ;
return 1 ;
}
|