Wiki Page Content

Differences between revisions 6 and 7
Revision 6 as of 2010-07-21 04:41:32
Size: 633
Editor: SheenaSmith
Comment: remove 'draft' note
Revision 7 as of 2010-07-21 04:42:45
Size: 646
Editor: Sam Lantinga
Comment: Added a simple example with no parameters.
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
You can add your code example here SDL_SetError("Something unexpected happened!");

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

None: SDL_SetError (last edited 2016-05-11 20:22:50 by PhilippWiesemann)

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