.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_set_config_value" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_set_config_value - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include void al_set_config_value(ALLEGRO_CONFIG *config, const char *section, const char *key, const char *value) \f[R] .fi .SH DESCRIPTION .PP Set a value in a section of a configuration. If the section doesn\[cq]t yet exist, it will be created. If a value already existed for the given key, it will be overwritten. The section can be NULL or \[lq]\[rq] for the global section. .PP For consistency with the on-disk format of config files, any leading and trailing whitespace will be stripped from the value. If you have significant whitespace you wish to preserve, you should add your own quote characters and remove them when reading the values back in. .SH SEE ALSO .PP al_get_config_value(3alleg5)