1set_config_file(3)              Allegro manual              set_config_file(3)
2
3
4

NAME

6       set_config_file - Sets the configuration file. Allegro game programming
7       library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void set_config_file(const char *filename);
14

DESCRIPTION

16       Sets the configuration file to be used by all subsequent  config  func‐
17       tions.  If  you  don't call this function, Allegro will use the default
18       `allegro.cfg' file, looking first in the same directory as your program
19       and  then  in the directory pointed to by the ALLEGRO environment vari‐
20       able and the usual platform-specific paths for configuration files. For
21       example it will look for `/etc/allegro.cfg' under Unix.
22
23       All  pointers  returned  by  previous  calls to get_config_string() and
24       other related functions are invalidated when you  call  this  function!
25       You  can call this function before install_allegro() to change the con‐
26       figuration file, but after set_uformat() if you  want  to  use  a  text
27       encoding format other than the default.
28
29

SEE ALSO

31       set_config_data(3),    override_config_file(3),   push_config_state(3),
32       set_uformat(3), set_config_string(3), get_config_string(3), exconfig(3)
33
34
35
36Allegro                          version 4.2.2              set_config_file(3)
Impressum