MCPcopy Create free account
hub / github.com/ElementsProject/elements / TakeReadEnd

Method TakeReadEnd

src/util/tokenpipe.cpp:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <unistd.h>
14
15TokenPipeEnd TokenPipe::TakeReadEnd()
16{
17 TokenPipeEnd res(m_fds[0]);
18 m_fds[0] = -1;
19 return res;
20}
21
22TokenPipeEnd TokenPipe::TakeWriteEnd()
23{

Callers 2

InitShutdownStateFunction · 0.80
fork_daemonFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected