MCPcopy Create free account
hub / github.com/apache/brpc / CloseFile

Function CloseFile

src/butil/file_util.cc:225–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225bool CloseFile(FILE* file) {
226 if (file == NULL)
227 return true;
228 return fclose(file) == 0;
229}
230
231bool TruncateFile(FILE* file) {
232 if (file == NULL)

Callers 1

ReadFileToStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected