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

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

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