al_get_first_config_entry(3)

al_get_first_config_entry3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
char const *al_get_first_config_entry(ALLEGRO_CONFIG const *config,
   char const *section, ALLEGRO_CONFIG_ENTRY **iterator)

Overview

Returns the name of the first key in the given section in the given config or NULL if the section is empty. The iterator works like the one for al_get_first_config_section(3).

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

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.