Wiki Page Content

Revision 5 as of 2010-07-21 04:26:54

Clear message

SDL_GetError

Use this function to retrieve a message about the last error that occurred.

Syntax

char* SDL_GetError(void)

Return Value

Returns a message with information about the specific error that occurred, or an empty string if there hasn't been an error since the last call to SDL_ClearError().

Code Examples

You can add your code example here

Remarks

It is possible for multiple errors to occur before calling SDL_GetError(). Only the last error is returned.


CategoryAPI, CategoryError

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