1al_create_file_handle(3) al_create_file_handle(3)
2
3
4
6 al_create_file_handle - Allegro 5 API
7
9 #include <allegro5/allegro.h>
10
11 ALLEGRO_FILE *al_create_file_handle(const ALLEGRO_FILE_INTERFACE *drv,
12 void *userdata)
13
15 Creates an empty, opened file handle with some abstract user data.
16 This allows custom interfaces to extend the ALLEGRO_FILE(3) struct with
17 their own data. You should close the handle with the standard
18 al_fclose(3) function when you are finished with it.
19
21 al_fopen(3), al_fclose(3), al_set_new_file_interface(3)
22
23
24
25Allegro reference manual al_create_file_handle(3)