MCPcopy Create free account
hub / github.com/bytedance/dplm / close_fd_array

Function close_fd_array

analysis/TMscore.cpp:1372–1377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1370 */
1371 template <int N>
1372 inline void
1373 close_fd_array(pstreams::fd_type (&fds)[N])
1374 {
1375 for (std::size_t i = 0; i < N; ++i)
1376 close_fd(fds[i]);
1377 }
1378
1379 /**
1380 * Starts a new process by executing @a file with the arguments in

Callers 3

openMethod · 0.85
forkMethod · 0.85
closeMethod · 0.85

Calls 1

close_fdFunction · 0.85

Tested by

no test coverage detected