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

Function gossip_pwritev

gossipd/gossip_store.c:60–64  ·  view source on GitHub ↗

One fewer syscall for the win! */

Source from the content-addressed store, hash-verified

58#if HAVE_PWRITEV
59/* One fewer syscall for the win! */
60static ssize_t gossip_pwritev(int fd, const struct iovec *iov, int iovcnt,
61 off_t offset)
62{
63 return pwritev(fd, iov, iovcnt, offset);
64}
65#else /* Hello MacOS! */
66static ssize_t gossip_pwritev(int fd, const struct iovec *iov, int iovcnt,
67 off_t offset)

Callers 1

append_msgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected