al_ftell man page

al_ftell — Allegro 5 API


#include <allegro5/allegro.h>

int64_t al_ftell(ALLEGRO_FILE *f)


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.

See Also

al_fseek(3), al_get_errno(3)

Referenced By

al_fseek(3), al_fungetc(3).

Allegro reference manual