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

Examples: ex_config, ex_draw, ex_logo, ex_vsync


Most helpful discussions: