---
name: "al_flush_event_queue"
section: "3"
platform: "linux"
package: "allegro"
version: "5.2.11.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/al_flush_event_queue"
---

# al\_flush\_event\_queue(3)

Allegro 5 API

## NAME

al\_flush\_event\_queue - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_flush_event_queue(ALLEGRO_EVENT_QUEUE *queue)
  ```

## DESCRIPTION

Drops all events, if any, from the queue.

## SEE ALSO

[al\_drop\_next\_event(3)](/al_drop_next_event/3.md), [al\_is\_event\_queue\_empty(3)](/al_is_event_queue_empty/3.md)
