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

Function writex

gossipd/compactd.c:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include <unistd.h>
20
21static void writex(int fd, const void *p, size_t len)
22{
23 if (!write_all(fd, p, len))
24 err(1, "Could not write new gossip_store");
25}
26
27static size_t readx(int fd, void *p, size_t len)
28{

Callers 3

writerecFunction · 0.85
copy_recordsFunction · 0.85
mainFunction · 0.85

Calls 2

errFunction · 0.85
write_allFunction · 0.50

Tested by

no test coverage detected