Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
256
static int num_kept_fds;
257
258
void
259
keep_fd(int fd)
260
{
261
assert(num_kept_fds < ARRAY_SIZE(fds_to_keep));
262
fds_to_keep[num_kept_fds++] = fd;
263
}
264
265
static bool
266
fd_is_kept(int fd)
Callers
2
run
Function · 0.85
meta_open
Function · 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…