al_ftell(3)

al_ftell3

Allegro 5 api

Usage

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

Overview

Returns the current position in the given file, or -1 on error. errno is set to indicate the error.

On some platforms this function may not support large files.

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