Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GJDuck/e9patch
/ isPipe
Method
isPipe
src/e9patch/e9json.cpp:109–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
107
}
108
109
bool isPipe(void)
110
{
111
struct stat buf;
112
return (fstat(fileno(stream), &buf) == 0 && S_ISFIFO(buf.st_mode));
113
}
114
};
115
116
/*
Callers
4
peekToken
Function · 0.80
unexpectedToken
Function · 0.80
expectToken
Function · 0.80
expectToken2
Function · 0.80
Calls
2
fstat
Function · 0.85
fileno
Function · 0.85
Tested by
no test coverage detected