Wiki Page Content

Revision 10 as of 2013-11-04 18:56:45

Clear message

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) {
  printf("SDL_Error : %s\n", error);
  SDL_ClearError();
}

Remarks

You can add useful comments here


CategoryAPI, CategoryError

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