Ubuntu Manpages

#include "SDL/SDL.h"

char *SDL_GetError(void);

SDL_GetError returns a NULL terminated string containing information about the last internal SDL error.

SDL_GetError returns a string containing the last error.