MCPcopy Create free account
hub / github.com/3rdparty/libprocess / close

Function close

src/subprocess.cpp:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

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

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.68
TEST_FFunction · 0.68
await_subprocessFunction · 0.68