---
name: "al_calloc"
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_calloc/3alleg5"
---

# al\_calloc(3alleg5)

Allegro 5 API

## NAME

al\_calloc - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  #define al_calloc(c, n) \
     (al_calloc_with_context((c), (n), __LINE__, __FILE__, __func__))
  ```

## DESCRIPTION

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

This is a macro.

## SEE ALSO

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