SDL_SetErrorV

Function SDL_SetErrorV 

Source
pub unsafe extern "C" fn SDL_SetErrorV(
    fmt: *const c_char,
    ap: VaList,
) -> bool
Expand description

Set the SDL error message for the current thread.

Calling this function will replace any previous error message that was set.

§Parameters

  • fmt: a printf()-style message format string.
  • ap: a variable argument list.

§Return value

Returns false.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also