---
name: "al_realloc"
section: "3alleg5"
platform: "linux"
package: "allegro5-doc"
version: "2:5.2.10.1+dfsg-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/al_realloc/3alleg5"
---

# al\_realloc(3alleg5)

Allegro 5 API

## NAME

al\_realloc - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  #define al_realloc(p, n) \
     (al_realloc_with_context((p), (n), __LINE__, __FILE__, __func__))
  ```

## DESCRIPTION

Like realloc() in the C standard library, but the implementation may be overridden.

This is a macro.

## SEE ALSO

al\_malloc(3alleg5), al\_realloc\_with\_context(3alleg5)
