Allocates a buffer and prints the errnum error message to *buf. This takes the error errnum and puts the corresponding error string into the buf string.
The last error is retrieved differently based on what system is being used. The global errno is checked on Linux systems, the GetLastThreadError() is returned on VDK/Blackfin systems and GetLastError() is used on Windows systems.
Definition at line 206 of file phError.cpp. |