SYNOPSIS

  • #include <allegro5/allegro.h>
    
    int al_get_errno(void)
    
    

DESCRIPTION

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.