1al_wait_for_event(3) al_wait_for_event(3)
2
3
4
6 al_wait_for_event - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 void al_wait_for_event(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT *ret_event)
12
14 Wait until the event queue specified is non-empty. If ret_event is not
15 NULL, the first event in the queue will be copied into ret_event and
16 removed from the queue. If ret_event is NULL the first event is left
17 at the head of the queue.
18
20 ALLEGRO_EVENT(3), al_wait_for_event_timed(3), al_wait_for_event_un‐
21 til(3), al_get_next_event(3)
22
23
24
25Allegro reference manual al_wait_for_event(3)