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

#include <skalibs/tai.h>

void tain_ulong (tain_t *t, unsigned long s)
{
  tai_u64(&t->sec, s) ;
  t->nano = 0 ;
}