al_get_errno

int al_get_errno(void)
Introduced in 5.0.0

Some Allegro functions will set an error number as well as returning an error code. Call this function to retrieve the last error number set for the calling thread.

Examples: ex_utf8


Most helpful discussions: