Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ foreach
Function
foreach
src/posix/subprocess.hpp:127–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
125
fd != STDERR_FILENO) {
126
bool found = false;
127
foreach (int_fd whitelist_fd, whitelist_fds) {
128
if (whitelist_fd == fd) {
129
found = true;
130
break;
131
}
132
}
133
134
if (!found) {
135
int flags = ::fcntl(fd, F_GETFD);
Callers
nothing calls this directly
Calls
2
cloexec
Function · 0.85
close
Function · 0.85
Tested by
no test coverage detected