1 2 3 4 5 6 7 8 9 10
/* ISC license. */ #include <skalibs/tai.h> int timestamp_r (char *s, tain_t *stamp) { if (!tain_wallclock_read(stamp)) return 0 ; timestamp_fmt(s, stamp) ; return 1 ; }