}
+// ----------------------------------------------------------------------------
+// various string functions
+// ----------------------------------------------------------------------------
+
+void *getMemCopy(const void *m, size_t size)
+{
+ void *m_copy;
+
+ if (m == NULL)
+ return NULL;
+
+ m_copy = checked_malloc(size);
+ memcpy(m_copy, m, size);
+
+ return m_copy;
+}
+
+
// ----------------------------------------------------------------------------
// various string functions
// ----------------------------------------------------------------------------
char *getBaseNamePtr(char *);
char *getBaseNameNoSuffix(char *);
+void *getMemCopy(const void *, size_t);
+
char *getStringCat2WithSeparator(const char *, const char *, const char *);
char *getStringCat3WithSeparator(const char *, const char *, const char *, const char *);
char *getStringCat2(const char *, const char *);