list_config_sections(3alleg4)

list_config_sections3alleg4

Lists the names of all sections available in the current configuration. allegro game programming library.

Usage

#include <allegro.h>

int list_config_sections(const char ***names);

Overview

The names parameter is a pointer to an array of strings. If it points to a NULL pointer, the list will be allocated, else it will be re-allocated. After the function returns, it will contain the names of all sections in the current configuration. Use free_config_entries to free the allocated memory again. See list_config_entries for more information and an example how to use it.

Return value

Returns the number of valid strings in the names array.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.