Function SDL_SetErrorV

pub unsafe extern "C" fn SDL_SetErrorV(
    fmt: *const i8,
    ap: VaList,
) -> bool
Available on crate feature dep_sdl3 only.
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