skalibs

Mirror/fork of https://skarnet.org/software/skalibs/
git clone https://ccx.te2000.cz/git/skalibs
Log | Files | Refs | README | LICENSE

timestamp_scan.c (187B)


      1 /* ISC license. */
      2 
      3 #include <skalibs/tai.h>
      4 
      5 size_t timestamp_scan (char const *s, tain *a)
      6 {
      7   size_t r ;
      8   if (*s != '@') return 0 ;
      9   r = tain_scan(s+1, a) ;
     10   return r ? r+1 : 0 ;
     11 }