Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ close_fd
Function
close_fd
tests/test_coverage_parent_failure.c:102–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
100
}
101
102
static bool close_fd(int *fd) {
103
if (*fd < 0)
104
return true;
105
int owned = *fd;
106
*fd = -1;
107
return close(owned) == 0;
108
}
109
110
static bool restore_parent(Fixture *f) {
111
if (f->parent_restore_pending) {
Callers
3
child_run
Function · 0.70
launch
Function · 0.70
fixture
Function · 0.70
Calls
1
close
Function · 0.50
Tested by
no test coverage detected