MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / TiXmlFOpen

Function TiXmlFOpen

cpp/tinyxml/tinyxml.cpp:40–51  ·  view source on GitHub ↗

Microsoft compiler security

Source from the content-addressed store, hash-verified

38
39// Microsoft compiler security
40FILE* TiXmlFOpen( const char* filename, const char* mode )
41{
42 #if defined(_MSC_VER) && (_MSC_VER >= 1400 )
43 FILE* fp = 0;
44 errno_t err = fopen_s( &fp, filename, mode );
45 if ( !err && fp )
46 return fp;
47 return 0;
48 #else
49 return fopen( filename, mode );
50 #endif
51}
52
53void TiXmlBase::EncodeString( const TIXML_STRING& str, TIXML_STRING* outString )
54{

Callers 2

LoadFileMethod · 0.85
SaveFileMethod · 0.85

Calls 1

fopen_sFunction · 0.50

Tested by

no test coverage detected