MCPcopy 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
410void CloseFile(FileHandle log) {
411#if defined(OS_WIN)
412 CloseHandle(log);
413#else
414 fclose(log);
415#endif
416}
417
418void CloseLogFileUnlocked() {
419 if (!log_file)

Callers 2

CloseLogFileUnlockedFunction · 0.70
TEST_FFunction · 0.50

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.40