Allegro 5 api
#include <allegro5/allegro.h> bool al_save_config_file_f(ALLEGRO_FILE *file, const ALLEGRO_CONFIG *config)
Write out a configuration file to an already open file.
Returns true on success, false on error. The file remains open afterwards.
al_save_config_file(3alleg5)