s6_dtally_unpack.c (233B)
1 /* ISC license. */ 2 3 #include <skalibs/tai.h> 4 #include <s6/supervise.h> 5 6 void s6_dtally_unpack (char const *pack, s6_dtally_t *d) 7 { 8 tain_unpack(pack, &d->stamp) ; 9 d->exitcode = pack[TAIN_PACK] ; 10 d->sig = pack[TAIN_PACK + 1] ; 11 }