Go to the documentation of this file.
50 #define GetCurrentDir _getcwd
51 #define PATH_MAX MAX_PATH
54 #define GetCurrentDir getcwd
58 #define strcmpi strcasecmp
59 #define DIR_DELIMITER '/'
61 #ifdef HAVE_CXX11_FULL
62 #define OPERATOR_NEW_THROW_EXCEPTION
64 #define OPERATOR_NEW_THROW_EXCEPTION throw(std::bad_alloc)
104 #define xprintf(...) _xprintf(__FILE__, __func__, __LINE__, __VA_ARGS__)
106 int _xprintf(
const char *
const xprintf_file,
const char *
const xprintf_func,
const int xprintf_line,
MessageType type,
const char *
const fmt, ... );
108 void *
xrealloc(
void * ptr,
size_t size );
113 do { if (p) { free(p); (p)=NULL; } \
132 void operator delete(
void *p)
throw();
133 void operator delete[](
void *p)
throw();
140 int xmkdir(
const char *s );
141 int xchdir(
const char *s );
144 int xrename(
const char * oldname,
const char * newname );
150 bool skip_to( istream &in,
const string &pattern );
155 char *
xstrtok(
char *s,
int position = -1);
156 char *
xstrtok(
char*,
const char* delim,
int position = -1);