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.  (Allegro will not search for this file in other locations as it
18       does with allegro.cfg at the time of initialization.)
19
20       All pointers returned by  previous  calls  to  get_config_string()  and
21       other  related  functions  are invalidated when you call this function!
22       You can call this function before install_allegro() to change the  con‐
23       figuration  file,  but  after  set_uformat()  if you want to use a text
24       encoding format other than the default.
25
26

SEE ALSO

28       set_config_data(3),   override_config_file(3),    push_config_state(3),
29       set_uformat(3), set_config_string(3), get_config_string(3), exconfig(3)
30
31
32
33Allegro                          version 4.4.2              set_config_file(3)
Impressum