MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / fdClose

Function fdClose

src/OSspecific/POSIX/POSIX.C:1098–1106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1096
1097
1098void Foam::fdClose(const int fd)
1099{
1100 if (close(fd) != 0)
1101 {
1102 FatalErrorInFunction
1103 << "close error on " << fd << endl
1104 << abort(FatalError);
1105 }
1106}
1107
1108
1109bool Foam::ping

Callers 1

pingFunction · 0.85

Calls 2

closeFunction · 0.50
abortFunction · 0.50

Tested by

no test coverage detected