timestamp_r.c (176B)
1 /* ISC license. */ 2 3 #include <skalibs/tai.h> 4 5 int timestamp_r (char *s, tain *stamp) 6 { 7 if (!tain_wallclock_read(stamp)) return 0 ; 8 timestamp_fmt(s, stamp) ; 9 return 1 ; 10 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |