Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
15
TokenPipeEnd TokenPipe::TakeReadEnd()
16
{
17
TokenPipeEnd res(m_fds[0]);
18
m_fds[0] = -1;
19
return res;
20
}
21
22
TokenPipeEnd TokenPipe::TakeWriteEnd()
23
{
Callers
2
InitShutdownState
Function · 0.80
fork_daemon
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected