summaryrefslogtreecommitdiff
path: root/src/libs6/s6_fdholder_end.c
blob: dd8c3129a53ba647f965456017c794a1382a90ed (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/djbunix.h>
#include <skalibs/unixmessage.h>
#include <s6/fdholder.h>

void s6_fdholder_end (s6_fdholder_t *a)
{
  fd_close(unixmessage_sender_fd(&a->connection.out)) ;
  s6_fdholder_free(a) ;
}