MCPcopy Create free account
hub / github.com/ReadyTalk/avian / safeClose

Function safeClose

classpath/java-lang.cpp:216–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214}
215
216void safeClose(int& fd)
217{
218 if (fd != -1)
219 close(fd);
220 fd = -1;
221}
222
223void close(int p[2])
224{

Callers 1

Calls 1

closeFunction · 0.70

Tested by

no test coverage detected