al_open_fs_entry(3)

al_open_fs_entry3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
ALLEGRO_FILE *al_open_fs_entry(ALLEGRO_FS_ENTRY *e, const char *mode)

Overview

Open an ALLEGRO_FILE(3) handle to a filesystem entry, for the given access mode. This is like calling al_fopen(3) with the name of the filesystem entry, but uses the appropriate file interface, not whatever was set with the latest call to al_set_new_file_interface(3).

Returns the handle on success, NULL on error.

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