al_fsize(3)

al_fsize3

Allegro 5 api

Usage

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

Overview

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.