MCPcopy Create free account
hub / github.com/apache/mesos / close

Function close

3rdparty/libprocess/src/subprocess.cpp:276–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274
275
276static void close(std::initializer_list<int_fd> fds)
277{
278 foreach (int_fd fd, fds) {
279 if (fd >= 0) {
280 os::close(fd);
281 }
282 }
283}
284
285
286// This function will invoke `os::close` on all specified file

Callers 15

readFunction · 0.70
writeFunction · 0.70
redirectFunction · 0.70
SUPERVISORMethod · 0.70
foreachFunction · 0.70
subprocessFunction · 0.70
sendfileFunction · 0.70
~FileEncoderMethod · 0.70
finalizeMethod · 0.70
createMethod · 0.70
foreachFunction · 0.50
acceptMethod · 0.50

Calls 1

getOrElseMethod · 0.80

Tested by 3

TEST_FFunction · 0.40
TEST_FFunction · 0.40
await_subprocessFunction · 0.40