MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nvlist_xfer

Function nvlist_xfer

freebsd/contrib/libnv/nvlist.c:1354–1364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352}
1353
1354nvlist_t *
1355nvlist_xfer(int sock, nvlist_t *nvl, int flags)
1356{
1357
1358 if (nvlist_send(sock, nvl) < 0) {
1359 nvlist_destroy(nvl);
1360 return (NULL);
1361 }
1362 nvlist_destroy(nvl);
1363 return (nvlist_recv(sock, flags));
1364}
1365#endif
1366
1367nvpair_t *

Callers

nothing calls this directly

Calls 3

nvlist_sendFunction · 0.85
nvlist_destroyFunction · 0.85
nvlist_recvFunction · 0.85

Tested by

no test coverage detected