MCPcopy Create free account
hub / github.com/ElementsProject/lightning / sd_collect_fds

Function sd_collect_fds

lightningd/subd.c:363–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363static struct io_plan *sd_collect_fds(struct io_conn *conn, struct subd *sd,
364 size_t num_fds)
365{
366 assert(!sd->fds_in);
367 sd->fds_in = tal_arr(sd, int, num_fds);
368 sd->num_fds_in_read = 0;
369 return read_fds(conn, sd);
370}
371
372static void subdaemon_malformed_msg(struct subd *sd, const u8 *msg)
373{

Callers 1

sd_msg_readFunction · 0.85

Calls 1

read_fdsFunction · 0.85

Tested by

no test coverage detected