about summary refs log tree commit diff
path: root/src/libs6/s6_dtally_unpack.c
blob: a82e5c3413293f2a12ab1afba9c12e73f5d88bd3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/tai.h>
#include <s6/supervise.h>

void s6_dtally_unpack (char const *pack, s6_dtally_t *d)
{
  tain_unpack(pack, &d->stamp) ;
  d->exitcode = pack[TAIN_PACK] ;
  d->sig = pack[TAIN_PACK + 1] ;
}