---
name: "al_fsize"
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_fsize"
---

# al\_fsize(3)

Allegro 5 API

## NAME

al\_fsize - Allegro 5 API

## SYNOPSIS

-

  ```
  #include <allegro5/allegro.h>
  int64_t al_fsize(ALLEGRO_FILE *f)
  ```

## DESCRIPTION

Return the size of the file, if it can be determined, or -1 otherwise.
