MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / close

Method close

src/basicio.cpp:509–519  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

507}
508
509int FileIo::close() {
510 int rc = 0;
511 if (munmap() != 0)
512 rc = 2;
513 if (p_->fp_) {
514 if (std::fclose(p_->fp_) != 0)
515 rc |= 1;
516 p_->fp_ = nullptr;
517 }
518 return rc;
519}
520
521DataBuf FileIo::read(size_t rcount) {
522 if (rcount > size())

Callers 15

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
TESTFunction · 0.80
readWriteEpsMetadataFunction · 0.80
writeMetadataMethod · 0.80
writeMetadataMethod · 0.80
writeMetadataMethod · 0.80
writeMetadataMethod · 0.80
writeMetadataMethod · 0.80
createMethod · 0.80
writeMetadataMethod · 0.80

Calls

no outgoing calls

Tested by 4

mainFunction · 0.64
mainFunction · 0.64
TESTFunction · 0.64
setUp_file_actionMethod · 0.64