1al_set_config_value(3) al_set_config_value(3)
2
3
4
6 al_set_config_value - Allegro 5 API
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 giv‐
17 en key, it will be overwritten. The section can be NULL or "" for the
18 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)