summaryrefslogtreecommitdiff
path: root/src/libstddjb/tain_wallclock_read.c
blob: 57222d0b19c9ad5a2a5050a9a8b12c58a3db9220 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/tai.h>

int tain_wallclock_read (tain *a)
{
  tain aa ;
  if (!sysclock_get(&aa)) return 0 ;
  return tain_from_sysclock(a, &aa) ;
}