MCPcopy Create free account
hub / github.com/avast/retdec / callfopen

Function callfopen

deps/tinyxml2/tinyxml2.cpp:2203–2217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2201}
2202
2203static FILE* callfopen( const char* filepath, const char* mode )
2204{
2205 TIXMLASSERT( filepath );
2206 TIXMLASSERT( mode );
2207#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
2208 FILE* fp = 0;
2209 const errno_t err = fopen_s( &fp, filepath, mode );
2210 if ( err ) {
2211 return 0;
2212 }
2213#else
2214 FILE* fp = fopen( filepath, mode );
2215#endif
2216 return fp;
2217}
2218
2219void XMLDocument::DeleteNode( XMLNode* node ) {
2220 TIXMLASSERT( node );

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected