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

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

int s6_fdholder_list_async (s6_fdholder_t *a)
{
  unixmessage m = { .s = "L", .len = 1, .fds = 0, .nfds = 0 } ;
  return unixmessage_put(&a->connection.out, &m) ;
}