about summary refs log tree commit diff
path: root/src/libs6/s6_dtally_pack.c
blob: 47c26f4ef838bbfe1a7d43c1d2cb1979f9499c6b (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_pack (char *pack, s6_dtally_t const *d)
{
  tain_pack(pack, &d->stamp) ;
  pack[TAIN_PACK] = d->exitcode ;
  pack[TAIN_PACK + 1] = d->sig ;
}