Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
52
void *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
62
void *rbuf_fill(struct rbuf *rbuf)
63
{
Callers
1
main
Function · 0.85
Calls
2
get_more
Function · 0.85
rbuf_start
Function · 0.85
Tested by
1
main
Function · 0.68