Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_SetErrorV - Set the SDL error message for the current thread.

Availability

       This function is available since SDL 3.2.0.

Description

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

Function Parameters

fmt    a printf()-style message format string.

       ap     a variable argument list.

Name

       SDL_SetErrorV - Set the SDL error message for the current thread.

Return Value

       Returns false.

See Also

SDL_ClearError(3), SDL_GetError(3), SDL_SetError(3)

Simple Directmedia Layer                           SDL 3.2.20                                   SDL_SetErrorV(3)

Synopsis

#include<SDL3/SDL_error.h>boolSDL_SetErrorV(constchar*fmt,va_listap);

Thread Safety

       It is safe to call this function from any thread.

See Also