skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

tain_wallclock_read.c (171B)


      1 /* ISC license. */
      2 
      3 #include <skalibs/tai.h>
      4 
      5 int tain_wallclock_read (tain *a)
      6 {
      7   tain aa ;
      8   if (!sysclock_get(&aa)) return 0 ;
      9   return tain_from_sysclock(a, &aa) ;
     10 }