MCPcopy 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

peekTokenFunction · 0.80
unexpectedTokenFunction · 0.80
expectTokenFunction · 0.80
expectToken2Function · 0.80

Calls 2

fstatFunction · 0.85
filenoFunction · 0.85

Tested by

no test coverage detected