Function transmission_sys::tr_error_new_valist
source · pub unsafe extern "C" fn tr_error_new_valist(
code: c_int,
message_format: *const c_char,
args: *mut __va_list_tag
) -> *mut tr_error
Expand description
@brief Create new error object using vprintf
-style formatting.
@param[in] code Error code (platform-specific). @param[in] message_format Error message format string. @param[in] args Format arguments.
@return Newly allocated error object on success, NULL
otherwise.