char const *al_get_first_config_section(ALLEGRO_CONFIG const *config,
Introduced in 5.0.0

Returns the name of the first section in the given config file. Usually this will return an empty string for the global section. The iterator parameter will receive an opaque iterator which is used by al_get_next_config_section to iterate over the remaining sections.

The returned string and the iterator are only valid as long as no change is made to the passed ALLEGRO_CONFIG.

See also: al_get_next_config_section

Examples: ex_config

Most helpful discussions: