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

Method write

src/common/OSFile.cpp:266–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266int OSFile::write(const void* data, int _size) {
267 if (!isOpen()) {
268 return 0;
269 }
270
271 return (int)fwrite(data, _size, 1, info->fp);
272}
273
274void OSFile::flush() {
275 fflush(info->fp);

Callers 5

processChunkMethod · 0.45
finalizationMethod · 0.45
addFileMethod · 0.45
writeChunkFunction · 0.45
createMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected