Back to index

nux  3.0.0
Functions
tinyxml.cpp File Reference
#include <ctype.h>
#include "tinyxml.h"

Go to the source code of this file.

Functions

FILE * TiXmlFOpen (const char *filename, const char *mode)

Function Documentation

FILE* TiXmlFOpen ( const char *  filename,
const char *  mode 
)

Definition at line 60 of file tinyxml.cpp.

{
#if defined(_MSC_VER) && (_MSC_VER >= 1400 )
  FILE *fp = 0;
  errno_t err = fopen_s ( &fp, filename, mode );

  if ( !err && fp )
    return fp;

  return 0;
#else
  return fopen ( filename, mode );
#endif
}

Here is the caller graph for this function: