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

#include <skalibs/tai.h>

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