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

# al\_calloc(3)

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(3)](/al_malloc/3.md), [al\_calloc\_with\_context(3)](/al_calloc_with_context/3.md)
