This is new wiki software and old wiki content. It's a work in progress!
Here's the explanation.
Be gentle, report bugs, leave feedback on pages, or just edit them yourself! Thanks!

SDL Wiki

SDL_GetErrorMsg

Get the last error message that was set for the current thread.

Syntax

char * SDL_GetErrorMsg(char *errstr, int maxlen);

Function Parameters

errstr

A buffer to fill with the last error message that was set for the current thread

maxlen

The size of the buffer pointed to by the errstr parameter

Return Value

Returns the pointer passed in as the errstr parameter.

Remarks

This allows the caller to copy the error string into a provided buffer, but otherwise operates exactly the same as SDL_GetError().

SDL_GetError

CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.