DOKK / manpages / debian 13 / libsdl3-doc / SDL_ClearError.3.en
SDL_ClearError(3) SDL3 FUNCTIONS SDL_ClearError(3)

SDL_ClearError - Clear any previous error message for this thread.

Defined in SDL3/SDL_error.h

#include "SDL3/SDL.h"
bool SDL_ClearError(void);

Returns true.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

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

SDL 3.2.10 Simple Directmedia Layer