Allegro 5 api
#include <allegro5/allegro.h> bool al_save_config_file(const char *filename, const ALLEGRO_CONFIG *config)
Write out a configuration file to disk. Returns true on success, false on error.
al_save_config_file_f(3alleg5), al_load_config_file(3alleg5)