---
name: "al_destroy_timer"
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_destroy_timer"
---

# al\_destroy\_timer(3)

Allegro 5 API

## NAME

al\_destroy\_timer - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  void al_destroy_timer(ALLEGRO_TIMER *timer)
  ```

## DESCRIPTION

Uninstall the timer specified. If the timer is started, it will automatically be stopped before uninstallation. It will also automatically unregister the timer with any event queues.

Does nothing if passed the NULL pointer.

## SEE ALSO

[al\_create\_timer(3)](/al_create_timer/3.md)
