1al_get_first_config_section(3)                  al_get_first_config_section(3)
2
3
4

NAME

6       al_get_first_config_section - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              char const *al_get_first_config_section(ALLEGRO_CONFIG const *config,
12                 ALLEGRO_CONFIG_SECTION **iterator)
13

DESCRIPTION

15       Returns the name of the first section in the given config file.  Usual‐
16       ly this will return an empty string for the  global  section,  even  it
17       contains  no values.  The iterator parameter will receive an opaque it‐
18       erator which is used by al_get_next_config_section(3) to  iterate  over
19       the remaining sections.
20
21       The  returned  string  and  the  iterator  are only valid as long as no
22       change is made to the passed ALLEGRO_CONFIG.
23

SEE ALSO

25       al_get_next_config_section(3)
26
27
28
29Allegro reference manual                        al_get_first_config_section(3)
Impressum