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

FreeBSD Manual Pages

  
 
  

home | help
al_get_system_config(3)	   Library Functions Manual    al_get_system_config(3)

NAME
       al_get_system_config - Allegro 5	API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      ALLEGRO_CONFIG *al_get_system_config(void)

DESCRIPTION
       Returns the system configuration	structure.  The	returned configuration
       should not be destroyed with al_destroy_config(3).  This	is mainly used
       for configuring Allegro and its addons.	You may	populate this configu-
       ration  before  Allegro is installed to control things like the logging
       levels and other	features.

       Allegro will try	to populate this configuration by loading a configura-
       tion file from a	few different locations, in this order:

        Unix only: /etc/allegro5rc

        Unix only: $HOME/allegro5rc

        Unix only: $HOME/.allegro5rc

        allegro5.cfg next to the executable

       If multiple copies are found, then they are merged using	 al_merge_con-
       fig_into(3).

       The  contents  of  this file are	documented inside a prototypical alle-
       gro5.cfg	that you can find in the root directory	of the source distrib-
       utions of Allegro.  They	are also reproduced below.

       Note that Allegro will not look into that file unless you make  a  copy
       of it and place it next to your executable!

	      __ALLEGRO_5_CFG

Allegro	reference manual			       al_get_system_config(3)

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

home | help