logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

list_config_sections - Lists the names of all sections available in the current configuration. Allegro

Description

       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.

Name

       list_config_sections  -  Lists  the names of all sections available in the current configuration. Allegro
       game programming library.

Return Value

       Returns the number of valid strings in the names array.

See Also

list_config_entries(3alleg4),            set_config_file(3alleg4),            get_config_string(3alleg4),
       free_config_entries(3alleg4)

Allegro                                           version 4.4.3                    list_config_sections(3alleg4)

Synopsis

#include<allegro.h>intlist_config_sections(constchar***names);

See Also