MCPcopy 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
192int ProcessInfo::openedFiles()
193{
194 t_numOpenedFiles = 0;
195 scanDir("/proc/self/fd", fdDirFilter);
196 return t_numOpenedFiles;
197}
198
199int ProcessInfo::maxOpenFiles()
200{

Callers

nothing calls this directly

Calls 1

scanDirFunction · 0.85

Tested by

no test coverage detected