1al_set_config_value(3) Library Functions Manual al_set_config_value(3)
2
3
4
6 al_set_config_value
7
9 #include <allegro5/allegro.h>
10
11 void al_set_config_value(ALLEGRO_CONFIG *config,
12 const char *section, const char *key, const char *value)
13
15 Set a value in a section of a configuration. If the section doesn't
16 yet exist, it will be created. If a value already existed for the
17 given key, it will be overwritten. The section can be NULL or "" for
18 the global section.
19
20 For consistency with the on-disk format of config files, any leading
21 and trailing whitespace will be stripped from the value. If you have
22 significant whitespace you wish to preserve, you should add your own
23 quote characters and remove them when reading the values back in.
24
26 al_get_config_value(3)
27
28
29
30Allegro reference manual al_set_config_value(3)