SDL_ttf > Functions > General


char *TTF_GetError()

This is the same as SDL_GetError, which returns the last error set as a string which you may use to tell the user what happened when an error status has been returned from an SDL_ttf function call.

Returns: a char pointer (string) containing a human readable version or the reason for the last error that occured.

printf("Oh My Goodness, an error : %s", TTF_GetError());

See Also


SDL_ttf_kopie/Functions/General/TTF_GetError (last edited 2009-02-25 23:12:04 by sign-4d0949c8)