summaryrefslogtreecommitdiff
path: root/src/libstddjb/timestamp_scan.c
blob: 95671ee65873153140204b5f40d2c3deca23fc86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#include <sys/types.h>
#include <skalibs/tai.h>

size_t timestamp_scan (char const *s, tain_t *a)
{
  size_t r ;
  if (*s != '@') return 0 ;
  r = tain_scan(s+1, a) ;
  return r ? r+1 : 0 ;
}