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

#include <skalibs/tai.h>

int timestamp (char *s)
{
  tain_t now ;
  return timestamp_r(s, &now) ;
}