MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / close

Method close

src/common/OSFile.cpp:201–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201bool OSFile::close() {
202 if (info->fp) {
203 fclose(info->fp);
204 }
205
206 info->fp = NULL;
207
208 return (!isOpen());
209}
210
211int OSFile::read(void* data, int _size, int count) {
212 if (!isOpen()) {

Callers 13

readFileMethod · 0.45
processOptionsMethod · 0.45
writeFileMethod · 0.45
parse_fileMethod · 0.45
close_outputFunction · 0.45
file_existsFunction · 0.45
mainFunction · 0.45
FT_Stream_CloseFunction · 0.45
readMethod · 0.45
checkShutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected