s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

s6_fdholder_end.c (232B)


      1 /* ISC license. */
      2 
      3 #include <skalibs/djbunix.h>
      4 #include <skalibs/unixmessage.h>
      5 #include <s6/fdholder.h>
      6 
      7 void s6_fdholder_end (s6_fdholder_t *a)
      8 {
      9   fd_close(unixmessage_sender_fd(&a->connection.out)) ;
     10   s6_fdholder_free(a) ;
     11 }