al_save_config_file
bool al_save_config_file(const char *filename, const ALLEGRO_CONFIG *config)
Introduced in 5.0.0
Write out a configuration file to disk. Returns true on success, false on error.
See also: al_save_config_file_f, al_load_config_file
Most helpful discussions: