1al_get_first_config_section(L3i)brary Functions Manuaall_get_first_config_section(3)
2
3
4
6 al_get_first_config_section
7
9 #include <allegro5/allegro.h>
10
11 char const *al_get_first_config_section(ALLEGRO_CONFIG const *config,
12 ALLEGRO_CONFIG_SECTION **iterator)
13
15 Returns the name of the first section in the given config file. Usu‐
16 ally this will return an empty string for the global section. The
17 iterator parameter will receive an opaque iterator which is used by
18 al_get_next_config_section(3) to iterate over the remaining sections.
19
20 The returned string and the iterator are only valid as long as no
21 change is made to the passed ALLEGRO_CONFIG.
22
24 al_get_next_config_section(3)
25
26
27
28Allegro reference manual al_get_first_config_section(3)