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

Function sd_collect_fds

lightningd/subd.c:369–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369static struct io_plan *sd_collect_fds(struct io_conn *conn, struct subd *sd,
370 size_t num_fds)
371{
372 assert(!sd->fds_in);
373 sd->fds_in = tal_arr(sd, int, num_fds);
374 sd->num_fds_in_read = 0;
375 return read_fds(conn, sd);
376}
377
378static void subdaemon_malformed_msg(struct subd *sd, const u8 *msg)
379{

Callers 1

sd_msg_readFunction · 0.85

Calls 1

read_fdsFunction · 0.85

Tested by

no test coverage detected