MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / SaveFile

Method SaveFile

sourcecommon/tinyxml2.cpp:1778–1788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1776
1777
1778XMLError XMLDocument::SaveFile( const char* filename, bool compact )
1779{
1780 FILE* fp = callfopen( filename, "w" );
1781 if ( !fp ) {
1782 SetError( XML_ERROR_FILE_COULD_NOT_BE_OPENED, filename, 0 );
1783 return _errorID;
1784 }
1785 SaveFile(fp, compact);
1786 fclose( fp );
1787 return _errorID;
1788}
1789
1790
1791XMLError XMLDocument::SaveFile( FILE* fp, bool compact )

Callers 4

SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80
SaveMethod · 0.80

Calls 1

callfopenFunction · 0.85

Tested by

no test coverage detected