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

Function rbuf_fill_all

ccan/ccan/rbuf/rbuf.c:52–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void *rbuf_fill_all(struct rbuf *rbuf)
53{
54 ssize_t r;
55
56 while ((r = get_more(rbuf)) != 0)
57 if (r < 0)
58 return NULL;
59 return rbuf_start(rbuf);
60}
61
62void *rbuf_fill(struct rbuf *rbuf)
63{

Callers 1

mainFunction · 0.85

Calls 2

get_moreFunction · 0.85
rbuf_startFunction · 0.85

Tested by 1

mainFunction · 0.68