MCPcopy Create free account
hub / github.com/ioi/isolate / keep_fd

Function keep_fd

util.c:258–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256static int num_kept_fds;
257
258void
259keep_fd(int fd)
260{
261 assert(num_kept_fds < ARRAY_SIZE(fds_to_keep));
262 fds_to_keep[num_kept_fds++] = fd;
263}
264
265static bool
266fd_is_kept(int fd)

Callers 2

runFunction · 0.85
meta_openFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…