Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ CloseFile
Function
CloseFile
src/butil/logging.cc:410–416 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
408
}
409
410
void CloseFile(FileHandle log) {
411
#if defined(OS_WIN)
412
CloseHandle(log);
413
#else
414
fclose(log);
415
#endif
416
}
417
418
void CloseLogFileUnlocked() {
419
if (!log_file)
Callers
2
CloseLogFileUnlocked
Function · 0.70
TEST_F
Function · 0.50
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.40