Wiki Page Content

SDL_ClearError

Use this function to clear any previous error message.

Syntax

void SDL_ClearError(void)

Code Examples

const char *error = SDL_GetError();
if (*error) {
  SDL_Log("SDL error: %s", error);
  SDL_ClearError();
}

Remarks

You can add useful comments here


CategoryAPI, CategoryError

None: SDL_ClearError (last edited 2016-05-11 20:30:45 by PhilippWiesemann)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit