27 #include "../Defines.h"
30 #if (TE_PLATFORM == TE_PLATFORMCODE_LINUX) || (TE_PLATFORM == TE_PLATFORMCODE_APPLE)
37 const char* errMsg = dlerror();
40 return std::string(
"");
42 return std::string(errMsg);
45 #endif // (TE_PLATFORM == TE_PLATFORMCODE_LINUX) || (TE_PLATFORM == TE_PLATFORMCODE_APPLE)
const std::string GetDlError()
It returns a human readable string describing the most recent error that occurred from dlopen()...
This file contains several utility functions when dealing with Linux specific API.