PDL_GetError
Description
Returns a null terminated string containing information about the last internal PDL error. This is the initial error that occurred, not the subsequent errors that a calling sequence could generate.
The string is statically allocated—you should not attempt to free.
Syntax
const char *PDL_GetError(void);
Returns
Pointer to null-terminated string.
Example
if (PDL_GetLanguage(buffer, len) != PDL_NOERROR) fprintf(stdout, "PDL_GetLanguage failed, err = %s\n", PDL_GetError());