s6

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

ftrigr_update.c (202B)


      1 /* ISC license. */
      2 
      3 #include <stdint.h>
      4 #include <skalibs/genalloc.h>
      5 #include <s6/ftrigr.h>
      6 
      7 int ftrigr_update (ftrigr_t *a)
      8 {
      9   genalloc_setlen(uint16_t, &a->list, 0) ;
     10   return ftrigr_updateb(a) ;
     11 }