odin_error_format
Formats an ODIN return code into a human readable string representation for use in logging and diagnostics. If buf
is
NULL
this functions simply returns the required buffer length to store the output buffer.
Declaration
Parameters
error_code
The error code to be formatted. See OdinReturnCode
Declaration
buf
Buffer to store the formatted error message.
Declaration
buf_len
Length of the buffer.
Declaration
Returns
The number of characters written to the buffer or the required buffer length if buf
is NULL
.
Return Type