Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenshuo/muduo
/ openedFiles
Method
openedFiles
muduo/base/ProcessInfo.cc:192–197 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
190
}
191
192
int ProcessInfo::openedFiles()
193
{
194
t_numOpenedFiles = 0;
195
scanDir(
"/proc/self/fd"
, fdDirFilter);
196
return t_numOpenedFiles;
197
}
198
199
int ProcessInfo::maxOpenFiles()
200
{
Callers
nothing calls this directly
Calls
1
scanDir
Function · 0.85
Tested by
no test coverage detected