Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
list_config_sections(3) 	 Allegro manual 	 list_config_sections(3)

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

SYNOPSIS
     #include <allegro.h>

     int list_config_sections(const char ***names);

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. Af-
     ter  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.

SEE ALSO
     list_config_entries(3), set_config_file(3), get_config_string(3), free_con-
     fig_entries(3)

Allegro 			  version 4.4.3 	 list_config_sections(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=list_config_sections&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help