MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / callfopen

Function callfopen

Source/ThirdParty/tinyxml2/tinyxml2.cpp:2125–2139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2123}
2124
2125static FILE* callfopen( const char* filepath, const char* mode )
2126{
2127 TIXMLASSERT( filepath );
2128 TIXMLASSERT( mode );
2129#if defined(_MSC_VER) && (_MSC_VER >= 1400 ) && (!defined WINCE)
2130 FILE* fp = 0;
2131 errno_t err = fopen_s( &fp, filepath, mode );
2132 if ( err ) {
2133 return 0;
2134 }
2135#else
2136 FILE* fp = fopen( filepath, mode );
2137#endif
2138 return fp;
2139}
2140
2141void XMLDocument::DeleteNode( XMLNode* node ) {
2142 TIXMLASSERT( node );

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls 1

fopen_sFunction · 0.85

Tested by

no test coverage detected