summaryrefslogtreecommitdiff
path: root/src/libstddjb/timestamp_fmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/timestamp_fmt.c')
-rw-r--r--src/libstddjb/timestamp_fmt.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstddjb/timestamp_fmt.c b/src/libstddjb/timestamp_fmt.c
new file mode 100644
index 0000000..1956723
--- /dev/null
+++ b/src/libstddjb/timestamp_fmt.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/tai.h>
+
+unsigned int timestamp_fmt (char *s, tain_t const *a)
+{
+ *s = '@' ;
+ return 1 + tain_fmt(s+1, a) ;
+}