SDKGetLastError
Returns the most recent error message generated by the SDK.
char* SDKGetLastError(void)
Parameters
none
Return Value
char*: Null-terminated error string. The buffer is allocated by the SDK and must be freed with FreeBuf().
Example
// example
char* e = SDKGetLastError();
if (e) {
fprintf(stderr, "ERR: %s\n", e);
FreeBuf(e);
}
Last updated
Was this helpful?