Wiki Page Content

Revision 9 as of 2010-08-29 19:10:54

Clear message

SDL_SetError

Use this function to set the SDL error string.

Syntax

void SDL_SetError(const char* fmt, 
                  ...)

Function Parameters

fmt

a printf() style message format string

...

additional parameters matching % tokens in the fmt string, if any

Code Examples

SDL_SetError("Something unexpected happened!");

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