ltm64_from_utc.c (267B)
1 /* ISC license. */ 2 3 #include <skalibs/uint64.h> 4 #include <skalibs/djbtime.h> 5 #include "djbtime-internal.h" 6 7 int ltm64_from_utc (uint64_t *u) 8 { 9 switch (skalibs_tzisright()) 10 { 11 case 1 : leapsecs_add(u, 0) ; 12 case 0 : return 1 ; 13 default : return 0 ; 14 } 15 }