Function transmission_sys::tr_error_prefix
source · pub unsafe extern "C" fn tr_error_prefix(
error: *mut *mut tr_error,
prefix_format: *const c_char,
...
)
Expand description
@brief Prefix message of exising error object.
If passed pointer to error object is not NULL
, prefix its message with
printf
-style formatted text. Otherwise, do nothing.
@param[in,out] error Pointer to error object to be set. @param[in] prefix_format Prefix format string. @param[in] … Format arguments.