Function transmission_sys::tr_error_set
source · pub unsafe extern "C" fn tr_error_set(
error: *mut *mut tr_error,
code: c_int,
message_format: *const c_char,
...
)
Expand description
@brief Create and set new error object using printf
-style formatting.
If passed pointer to error object is NULL
, do nothing.
@param[in,out] error Pointer to error object to be set. @param[in] code Error code (platform-specific). @param[in] message_format Error message format string. @param[in] … Format arguments.