DOKK / manpages / debian 11 / allegro5-doc / al_fopen_interface.3alleg5.en
al_fopen_interface(3alleg5) al_fopen_interface(3alleg5)

al_fopen_interface - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_FILE *al_fopen_interface(const ALLEGRO_FILE_INTERFACE *drv,

const char *path, const char *mode)

Opens a file using the specified interface, instead of the interface set with al_set_new_file_interface(3alleg5).

al_fopen(3alleg5)

Allegro reference manual