DOKK / manpages / debian 10 / allegro5-doc / al_get_current_display.3alleg5.en
al_get_current_display(3alleg5) al_get_current_display(3alleg5)

al_get_current_display - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_DISPLAY *al_get_current_display(void)
    

Return the display that is “current” for the calling thread, or NULL if there is none.

al_set_target_bitmap(3alleg5)

Allegro reference manual