MCPcopy Create free account
hub / github.com/FEX-Emu/FEX / SetWaitPipe

Function SetWaitPipe

Source/Tools/FEXServer/PipeScanner.cpp:11–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace PipeScanner {
10std::vector<int> IncomingPipes {};
11void SetWaitPipe(int FD) {
12 int flags = fcntl(FD, F_GETFD);
13 flags |= FD_CLOEXEC;
14 fcntl(FD, F_SETFD, flags);
15 IncomingPipes.emplace_back(FD);
16}
17
18void ClosePipes() {
19 for (auto pipe : IncomingPipes) {

Callers 1

LoadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected